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--EXPECT-- 16NULL 17NULL 18===DONE=== 19