php-src/ext/spl/tests/iterator_043.phpt
2008-05-24 14:10:44 +00:00

19 lines
305 B
PHP
Executable File

--TEST--
SPL: RecursiveCachingIterator and uninitialized getChildren()
--FILE--
<?php
$it = new RecursiveCachingIterator(new RecursiveArrayIterator(array(1,2)));
var_dump($it->getChildren());
$it->rewind();
var_dump($it->getChildren());
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
NULL
NULL
===DONE===