Test: /ext/spl/tests/recursive_tree_iterator_001.phpt - Version 7.0.28-dev    

There is 1 diff reported by users for this test.

Count Diff
6 (100%)
002+ [a] => |-Array
003+
004+ Fatal error: Uncaught UnexpectedValueException: Objects returned by RecursiveIterator::getChildren() must implement RecursiveIterator in %s/recursive_tree_iterator_001.php:24
005+ Stack trace:
006+ #0 %s/recursive_tree_iterator_001.php(24): RecursiveTreeIterator->next()
007+ #1 {main}
008+ thrown in %s/recursive_tree_iterator_001.php on line 24
002- [0] => |-Array
003- [0] => | |-a
004- [1] => | \-1
005- [a] => \-Array
006- [0] => |-2
007- [1] => |-b
008- [3] => \-Array
009- [0] => |-4
010- [1] => \-c
011- -- flags = BYPASS_CURRENT --
012- [|-0] => Array
013- [| |-0] => a
014- [| \-1] => 1
015- [\-a] => Array
016- [ |-0] => 2
017- [ |-1] => b
018- [ \-3] => Array
019- [ |-0] => 4
020- [ \-1] => c
021- -- flags = BYPASS_KEY|BYPASS_KEY --
022- [0] => Array
023- [0] => a
024- [1] => 1
025- [a] => Array
026- [0] => 2
027- [1] => b
028- [3] => Array
029- [0] => 4
030- [1] => c
031- -- flags = 0 --
032- [|-0] => |-Array
033- [| |-0] => | |-a
034- [| \-1] => | \-1
035- [\-a] => \-Array
036- [ |-0] => |-2
037- [ |-1] => |-b
038- [ \-3] => \-Array
039- [ |-0] => |-4
040- [ \-1] => \-c
041- -- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --
042- [|-0] => |-Array
043- [| |-0] => | |-a
044- [| \-1] => | \-1
045- [\-a] => \-Array
046- [ |-0] => |-2
047- [ |-1] => |-b
048- [ \-3] => \-Array
049- [ |-0] => |-4
050- [ \-1] => \-c
051- ===DONE===