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)