com php-src: Moved test to correct place: Zend/bug69756.phpt Zend/tests/bug69756.phpt

From: Date: Thu, 25 Jun 2015 08:22:21 +0000
Subject: com php-src: Moved test to correct place: Zend/bug69756.phpt Zend/tests/bug69756.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87523@lists.php.net to get a copy of this message
Commit: 90976c997898f88961ac8ed941537c64551336e4 Author: Dmitry Stogov <dmitry@zend.com> Thu, 25 Jun 2015 11:22:21 +0300 Parents: f42cdf83b00182dc26ad11d3917a6275288b5b4b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=90976c997898f88961ac8ed941537c64551336e4 Log: Moved test to correct place Changed paths: D Zend/bug69756.phpt A Zend/tests/bug69756.phpt Diff: diff --git a/Zend/bug69756.phpt b/Zend/bug69756.phpt deleted file mode 100644 index ca638fb..0000000 --- a/Zend/bug69756.phpt +++ /dev/null @@ -1,12 +0,0 @@ ---TEST-- -Fixed bug #69756 (Fatal error: Nesting level too deep - recursive dependency? with ===). ---FILE-- -<?php -$arr = range(1, 2); -foreach($arr as &$item ) { - var_dump($arr === array(1, 2)); -} -?> ---EXPECT-- -bool(true) -bool(true) diff --git a/Zend/tests/bug69756.phpt b/Zend/tests/bug69756.phpt new file mode 100644 index 0000000..ca638fb --- /dev/null +++ b/Zend/tests/bug69756.phpt @@ -0,0 +1,12 @@ +--TEST-- +Fixed bug #69756 (Fatal error: Nesting level too deep - recursive dependency? with ===).. +--FILE-- +<?php +$arr = range(1, 2); +foreach($arr as &$item ) { + var_dump($arr === array(1, 2)); +} +?> +--EXPECT-- +bool(true) +bool(true)

« previous php.cvs (#87523) next »