Annotation of embedaddon/php/ext/spl/tests/iterator_043.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SPL: RecursiveCachingIterator and uninitialized getChildren()
! 3: --FILE--
! 4: <?php
! 5:
! 6: $it = new RecursiveCachingIterator(new RecursiveArrayIterator(array(1,2)));
! 7:
! 8: var_dump($it->getChildren());
! 9: $it->rewind();
! 10: var_dump($it->getChildren());
! 11:
! 12: ?>
! 13: ===DONE===
! 14: <?php exit(0); ?>
! 15: --EXPECTF--
! 16: NULL
! 17: NULL
! 18: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>