xref: /PHP-8.2/ext/spl/tests/iterator_070.phpt (revision dabc28d1)
1--TEST--
2SPL: RecursiveIteratorIterator - Ensure that non-overridden methods execute problem free.
3--FILE--
4<?php
5
6$array = array();
7$recArrIt = new RecursiveArrayIterator($array);
8
9$recItIt = new RecursiveIteratorIterator($recArrIt);
10
11var_dump($recItIt->beginIteration());
12var_dump($recItIt->endIteration());
13var_dump($recItIt->nextElement());
14
15?>
16--EXPECT--
17NULL
18NULL
19NULL
20