Test: /ext/spl/tests/recursive_tree_iterator_005.phpt - Version 7.1.14-dev    

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
002+
003+ Fatal error: Uncaught UnexpectedValueException: Objects returned by RecursiveIterator::getChildren() must implement RecursiveIterator in %s/recursive_tree_iterator_005.php:24
004+ Stack trace:
005+ #0 %s/recursive_tree_iterator_005.php(24): RecursiveTreeIterator->next()
006+ #1 {main}
007+ thrown in %s/recursive_tree_iterator_005.php on line 24
002- string(10) "| |-binary"
003- string(8) "| |-abc2"
004- string(5) "| \-1"
005- string(7) "\-Array"
006- string(5) " |-2"
007- string(5) " |-b"
008- string(9) " |-Array"
009- string(7) " | |-4"
010- string(7) " | \-c"
011- string(9) " \-Array"
012- string(7) " |-4"
013- string(7) " \-c"
014-
015- ----------------
016-
017- string(3) "|-0"
018- string(5) "| |-0"
019- string(5) "| |-1"
020- string(5) "| \-2"
021- string(8) "\-binary"
022- string(5) " |-0"
023- string(5) " |-1"
024- string(5) " |-3"
025- string(7) " | |-0"
026- string(7) " | \-1"
027- string(8) " \-4abc"
028- string(7) " |-0"
029- string(7) " \-1"
030-
031- ----------------
032-
033- key, getEntry, current:
034- string(3) "|-0"
035- string(5) "Array"
036- string(7) "|-Array"
037- string(5) "| |-0"
038- string(6) "binary"
039- string(10) "| |-binary"
040- string(5) "| |-1"
041- string(4) "abc2"
042- string(8) "| |-abc2"
043- string(5) "| \-2"
044- string(1) "1"
045- string(5) "| \-1"
046- string(8) "\-binary"
047- string(5) "Array"
048- string(7) "\-Array"
049- string(5) " |-0"
050- string(1) "2"
051- string(5) " |-2"
052- string(5) " |-1"
053- string(1) "b"
054- string(5) " |-b"
055- string(5) " |-3"
056- string(5) "Array"
057- string(9) " |-Array"
058- string(7) " | |-0"
059- string(1) "4"
060- string(7) " | |-4"
061- string(7) " | \-1"
062- string(1) "c"
063- string(7) " | \-c"
064- string(8) " \-4abc"
065- string(5) "Array"
066- string(9) " \-Array"
067- string(7) " |-0"
068- string(1) "4"
069- string(7) " |-4"
070- string(7) " \-1"
071- string(1) "c"
072- string(7) " \-c"
073- ===DONE===