summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69756.phpt
blob: ca638fb2d669368bcb05062ccf9134e9038e15d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)