xref: /PHP-8.3/ext/spl/tests/iterator_043.phpt (revision a555cc0b)
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--EXPECT--
14NULL
15NULL
16