Test: /ext/spl/tests/iterator_031.phpt - Version 5.4.0beta2-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
005+
006+ Fatal error: Uncaught exception 'LogicException' with message 'In the constructor of MyAppendIterator, parent::__construct() must be called and its exceptions cannot be cleared' in %s/iterator_031.php:50
007+ Stack trace:
008+ #0 %s/iterator_031.php(50): MyAppendIterator->internal_construction_wrapper()
009+ #1 {main}
010+ thrown in %s/iterator_031.php on line 50
005- MyAppendIterator::append
006- The object is in an invalid state as the parent constructor was not called
007- AppendIterator::getIterator() must be called exactly once per instance
008- MyAppendIterator::append
009- MyArrayIterator::rewind
010- MyAppendIterator::append
011- MyAppendIterator::append
012- MyAppendIterator::rewind
013- MyArrayIterator::rewind
014- MyAppendIterator::valid
015- 0=>1
016- MyAppendIterator::valid
017- 1=>2
018- MyArrayIterator::rewind
019- MyAppendIterator::valid
020- 0=>1
021- MyAppendIterator::valid
022- 1=>2
023- MyArrayIterator::rewind
024- MyAppendIterator::valid
025- 0=>1
026- MyAppendIterator::valid
027- 1=>2
028- MyAppendIterator::valid
029- ===DONE===