php-src/Zend/tests/each_003.phpt
Zoe Slattery 29b557ae61 fix tests
2009-07-17 08:18:27 +00:00

25 lines
235 B
PHP

--TEST--
Testing each() with recursion
--FILE--
<?php
$a = array(array());
$a[] =& $a;
var_dump(each($a[1]));
?>
--EXPECTF--
array(4) {
[1]=>
array(0) {
}
["value"]=>
array(0) {
}
[0]=>
int(0)
["key"]=>
int(0)
}