1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/bug69756.phpt
2015-06-25 11:22:21 +03:00

13 lines
234 B
PHP

--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)