xref: /PHP-5.3/ext/spl/tests/iterator_043.phpt (revision 610c7fbe)
1--TEST--
2SPL: RecursiveCachingIterator and uninitialized getChildren()
3--FILE--
4<?php
5
6$it = new RecursiveCachingIterator(new RecursiveArrayIterator(array(1,2)));
7
8var_dump($it->getChildren());
9$it->rewind();
10var_dump($it->getChildren());
11
12?>
13===DONE===
14<?php exit(0); ?>
15--EXPECTF--
16NULL
17NULL
18===DONE===
19