php-src/Zend/tests/each_003.phpt
Steph Fox 6d8760677d - killed off UEXPECT
- altered EXPECT for parser errors. This may or may not be a Good Thing.
2008-05-26 14:33:44 +00:00

25 lines
236 B
PHP

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