Test: /ext/spl/tests/bug69264.phpt - Version 7.4.3        

Bug #69264 __debugInfo() ignored while extending SPL datastructures
Submitted: 2015-03-19 20:31:50 Modified: 2020-04-03 09:20:12
From: grzegorz129 Assigned: cmb
Status: Closed Package: SPL related
PHP Version: 5.6.6 OS: All

There are 7 different diffs reported by users for this test.

Count Diff
2 (22%)
002+ ["pathName":"SplFileInfo":private]=> 003+ string(60) %s/bug69264.php" 004+ ["fileName":"SplFileInfo":private]=> 005+ string(12) "bug69264.php" 002- ["child"]=> 003- int(42) 004- ["parent"]=> 005- int(2) 008+ ["flags":"SplDoublyLinkedList":private]=> 009+ int(0) 010+ ["dllist":"SplDoublyLinkedList":private]=> 011+ array(0) { 012+ } 013+ } 014+ object(MyObjectStorage)#3 (1) { 015+ ["storage":"SplObjectStorage":private]=> 016+ array(0) { 017+ } 018+ } 019+ object(MyMultipleIterator)#4 (1) { 020+ ["storage":"SplObjectStorage":private]=> 021+ array(0) { 022+ } 023+ } 024+ object(MyArrayObject)#5 (1) { 025+ ["storage":"ArrayObject":private]=> 026+ array(0) { 027+ } 028+ } 029+ object(MyArrayIterator)#6 (1) { 030+ ["storage":"ArrayIterator":private]=> 031+ array(0) { 032+ } 008- ["child"]=> 009- int(42) 010- ["parent"]=> 011- int(2) 013- object(MyObjectStorage)#%d (2) { 014- ["child"]=> 015- int(42) 016- ["parent"]=> 034+ object(MyMaxHeap)#7 (3) { 035+ ["flags":"SplHeap":private]=> 036+ int(0) 037+ ["isCorrupted":"SplHeap":private]=> 038+ bool(false) 039+ ["heap":"SplHeap":private]=> 040+ array(0) { 041+ } 042+ } 043+ object(MyPriorityQueue)#8 (3) { 044+ ["flags":"SplPriorityQueue":private]=> 046+ ["isCorrupted":"SplPriorityQueue":private]=> 047+ bool(false) 048+ ["heap":"SplPriorityQueue":private]=> 049+ array(0) { 050+ } 019- object(MyMultipleIterator)#%d (2) { 020- ["child"]=> 021- int(42) 022- ["parent"]=> 023- int(1) 024- } 025- object(MyArrayObject)#%d (2) { 026- ["child"]=> 027- int(42) 028- ["parent"]=> 029- int(1) 030- } 031- object(MyArrayIterator)#%d (2) { 032- ["child"]=> 033- int(42) 034- ["parent"]=> 035- int(1) 036- } 037- object(MyMaxHeap)#%d (2) { 038- ["child"]=> 039- int(42) 040- ["parent"]=> 041- int(3) 042- } 043- object(MyPriorityQueue)#%d (2) { 044- ["child"]=> 045- int(42) 046- ["parent"]=> 047- int(3) 048- }
2 (22%)
002+ ["pathName":"SplFileInfo":private]=> 003+ string(58) %s/bug69264.php" 004+ ["fileName":"SplFileInfo":private]=> 005+ string(12) "bug69264.php" 002- ["child"]=> 003- int(42) 004- ["parent"]=> 005- int(2) 008+ ["flags":"SplDoublyLinkedList":private]=> 009+ int(0) 010+ ["dllist":"SplDoublyLinkedList":private]=> 011+ array(0) { 012+ } 013+ } 014+ object(MyObjectStorage)#3 (1) { 015+ ["storage":"SplObjectStorage":private]=> 016+ array(0) { 017+ } 018+ } 019+ object(MyMultipleIterator)#4 (1) { 020+ ["storage":"SplObjectStorage":private]=> 021+ array(0) { 022+ } 023+ } 024+ object(MyArrayObject)#5 (1) { 025+ ["storage":"ArrayObject":private]=> 026+ array(0) { 027+ } 028+ } 029+ object(MyArrayIterator)#6 (1) { 030+ ["storage":"ArrayIterator":private]=> 031+ array(0) { 032+ } 008- ["child"]=> 009- int(42) 010- ["parent"]=> 011- int(2) 013- object(MyObjectStorage)#%d (2) { 014- ["child"]=> 015- int(42) 016- ["parent"]=> 034+ object(MyMaxHeap)#7 (3) { 035+ ["flags":"SplHeap":private]=> 036+ int(0) 037+ ["isCorrupted":"SplHeap":private]=> 038+ bool(false) 039+ ["heap":"SplHeap":private]=> 040+ array(0) { 041+ } 042+ } 043+ object(MyPriorityQueue)#8 (3) { 044+ ["flags":"SplPriorityQueue":private]=> 046+ ["isCorrupted":"SplPriorityQueue":private]=> 047+ bool(false) 048+ ["heap":"SplPriorityQueue":private]=> 049+ array(0) { 050+ } 019- object(MyMultipleIterator)#%d (2) { 020- ["child"]=> 021- int(42) 022- ["parent"]=> 023- int(1) 024- } 025- object(MyArrayObject)#%d (2) { 026- ["child"]=> 027- int(42) 028- ["parent"]=> 029- int(1) 030- } 031- object(MyArrayIterator)#%d (2) { 032- ["child"]=> 033- int(42) 034- ["parent"]=> 035- int(1) 036- } 037- object(MyMaxHeap)#%d (2) { 038- ["child"]=> 039- int(42) 040- ["parent"]=> 041- int(3) 042- } 043- object(MyPriorityQueue)#%d (2) { 044- ["child"]=> 045- int(42) 046- ["parent"]=> 047- int(3) 048- }
1 (11%)
002+ ["pathName":"SplFileInfo":private]=> 003+ string(76) %s/bug69264.php" 004+ ["fileName":"SplFileInfo":private]=> 005+ string(12) "bug69264.php" 002- ["child"]=> 003- int(42) 004- ["parent"]=> 005- int(2) 008+ ["flags":"SplDoublyLinkedList":private]=> 009+ int(0) 010+ ["dllist":"SplDoublyLinkedList":private]=> 011+ array(0) { 012+ } 013+ } 014+ object(MyObjectStorage)#3 (1) { 015+ ["storage":"SplObjectStorage":private]=> 016+ array(0) { 017+ } 018+ } 019+ object(MyMultipleIterator)#4 (1) { 020+ ["storage":"SplObjectStorage":private]=> 021+ array(0) { 022+ } 023+ } 024+ object(MyArrayObject)#5 (1) { 025+ ["storage":"ArrayObject":private]=> 026+ array(0) { 027+ } 028+ } 029+ object(MyArrayIterator)#6 (1) { 030+ ["storage":"ArrayIterator":private]=> 031+ array(0) { 032+ } 008- ["child"]=> 009- int(42) 010- ["parent"]=> 011- int(2) 013- object(MyObjectStorage)#%d (2) { 014- ["child"]=> 015- int(42) 016- ["parent"]=> 034+ object(MyMaxHeap)#7 (3) { 035+ ["flags":"SplHeap":private]=> 036+ int(0) 037+ ["isCorrupted":"SplHeap":private]=> 038+ bool(false) 039+ ["heap":"SplHeap":private]=> 040+ array(0) { 041+ } 042+ } 043+ object(MyPriorityQueue)#8 (3) { 044+ ["flags":"SplPriorityQueue":private]=> 046+ ["isCorrupted":"SplPriorityQueue":private]=> 047+ bool(false) 048+ ["heap":"SplPriorityQueue":private]=> 049+ array(0) { 050+ } 019- object(MyMultipleIterator)#%d (2) { 020- ["child"]=> 021- int(42) 022- ["parent"]=> 023- int(1) 024- } 025- object(MyArrayObject)#%d (2) { 026- ["child"]=> 027- int(42) 028- ["parent"]=> 029- int(1) 030- } 031- object(MyArrayIterator)#%d (2) { 032- ["child"]=> 033- int(42) 034- ["parent"]=> 035- int(1) 036- } 037- object(MyMaxHeap)#%d (2) { 038- ["child"]=> 039- int(42) 040- ["parent"]=> 041- int(3) 042- } 043- object(MyPriorityQueue)#%d (2) { 044- ["child"]=> 045- int(42) 046- ["parent"]=> 047- int(3) 048- }
1 (11%)
002+ ["pathName":"SplFileInfo":private]=> 003+ string(75) %s/bug69264.php" 004+ ["fileName":"SplFileInfo":private]=> 005+ string(12) "bug69264.php" 002- ["child"]=> 003- int(42) 004- ["parent"]=> 005- int(2) 008+ ["flags":"SplDoublyLinkedList":private]=> 009+ int(0) 010+ ["dllist":"SplDoublyLinkedList":private]=> 011+ array(0) { 012+ } 013+ } 014+ object(MyObjectStorage)#3 (1) { 015+ ["storage":"SplObjectStorage":private]=> 016+ array(0) { 017+ } 018+ } 019+ object(MyMultipleIterator)#4 (1) { 020+ ["storage":"SplObjectStorage":private]=> 021+ array(0) { 022+ } 023+ } 024+ object(MyArrayObject)#5 (1) { 025+ ["storage":"ArrayObject":private]=> 026+ array(0) { 027+ } 028+ } 029+ object(MyArrayIterator)#6 (1) { 030+ ["storage":"ArrayIterator":private]=> 031+ array(0) { 032+ } 008- ["child"]=> 009- int(42) 010- ["parent"]=> 011- int(2) 013- object(MyObjectStorage)#%d (2) { 014- ["child"]=> 015- int(42) 016- ["parent"]=> 034+ object(MyMaxHeap)#7 (3) { 035+ ["flags":"SplHeap":private]=> 036+ int(0) 037+ ["isCorrupted":"SplHeap":private]=> 038+ bool(false) 039+ ["heap":"SplHeap":private]=> 040+ array(0) { 041+ } 042+ } 043+ object(MyPriorityQueue)#8 (3) { 044+ ["flags":"SplPriorityQueue":private]=> 046+ ["isCorrupted":"SplPriorityQueue":private]=> 047+ bool(false) 048+ ["heap":"SplPriorityQueue":private]=> 049+ array(0) { 050+ } 019- object(MyMultipleIterator)#%d (2) { 020- ["child"]=> 021- int(42) 022- ["parent"]=> 023- int(1) 024- } 025- object(MyArrayObject)#%d (2) { 026- ["child"]=> 027- int(42) 028- ["parent"]=> 029- int(1) 030- } 031- object(MyArrayIterator)#%d (2) { 032- ["child"]=> 033- int(42) 034- ["parent"]=> 035- int(1) 036- } 037- object(MyMaxHeap)#%d (2) { 038- ["child"]=> 039- int(42) 040- ["parent"]=> 041- int(3) 042- } 043- object(MyPriorityQueue)#%d (2) { 044- ["child"]=> 045- int(42) 046- ["parent"]=> 047- int(3) 048- }
1 (11%)
002+ ["pathName":"SplFileInfo":private]=> 003+ string(66) %s/bug69264.php" 004+ ["fileName":"SplFileInfo":private]=> 005+ string(12) "bug69264.php" 002- ["child"]=> 003- int(42) 004- ["parent"]=> 005- int(2) 008+ ["flags":"SplDoublyLinkedList":private]=> 009+ int(0) 010+ ["dllist":"SplDoublyLinkedList":private]=> 011+ array(0) { 012+ } 013+ } 014+ object(MyObjectStorage)#3 (1) { 015+ ["storage":"SplObjectStorage":private]=> 016+ array(0) { 017+ } 018+ } 019+ object(MyMultipleIterator)#4 (1) { 020+ ["storage":"SplObjectStorage":private]=> 021+ array(0) { 022+ } 023+ } 024+ object(MyArrayObject)#5 (1) { 025+ ["storage":"ArrayObject":private]=> 026+ array(0) { 027+ } 028+ } 029+ object(MyArrayIterator)#6 (1) { 030+ ["storage":"ArrayIterator":private]=> 031+ array(0) { 032+ } 008- ["child"]=> 009- int(42) 010- ["parent"]=> 011- int(2) 013- object(MyObjectStorage)#%d (2) { 014- ["child"]=> 015- int(42) 016- ["parent"]=> 034+ object(MyMaxHeap)#7 (3) { 035+ ["flags":"SplHeap":private]=> 036+ int(0) 037+ ["isCorrupted":"SplHeap":private]=> 038+ bool(false) 039+ ["heap":"SplHeap":private]=> 040+ array(0) { 041+ } 042+ } 043+ object(MyPriorityQueue)#8 (3) { 044+ ["flags":"SplPriorityQueue":private]=> 046+ ["isCorrupted":"SplPriorityQueue":private]=> 047+ bool(false) 048+ ["heap":"SplPriorityQueue":private]=> 049+ array(0) { 050+ } 019- object(MyMultipleIterator)#%d (2) { 020- ["child"]=> 021- int(42) 022- ["parent"]=> 023- int(1) 024- } 025- object(MyArrayObject)#%d (2) { 026- ["child"]=> 027- int(42) 028- ["parent"]=> 029- int(1) 030- } 031- object(MyArrayIterator)#%d (2) { 032- ["child"]=> 033- int(42) 034- ["parent"]=> 035- int(1) 036- } 037- object(MyMaxHeap)#%d (2) { 038- ["child"]=> 039- int(42) 040- ["parent"]=> 041- int(3) 042- } 043- object(MyPriorityQueue)#%d (2) { 044- ["child"]=> 045- int(42) 046- ["parent"]=> 047- int(3) 048- }
1 (11%)
002+ ["pathName":"SplFileInfo":private]=> 003+ string(59) %s/bug69264.php" 004+ ["fileName":"SplFileInfo":private]=> 005+ string(12) "bug69264.php" 002- ["child"]=> 003- int(42) 004- ["parent"]=> 005- int(2) 008+ ["flags":"SplDoublyLinkedList":private]=> 009+ int(0) 010+ ["dllist":"SplDoublyLinkedList":private]=> 011+ array(0) { 012+ } 013+ } 014+ object(MyObjectStorage)#3 (1) { 015+ ["storage":"SplObjectStorage":private]=> 016+ array(0) { 017+ } 018+ } 019+ object(MyMultipleIterator)#4 (1) { 020+ ["storage":"SplObjectStorage":private]=> 021+ array(0) { 022+ } 023+ } 024+ object(MyArrayObject)#5 (1) { 025+ ["storage":"ArrayObject":private]=> 026+ array(0) { 027+ } 028+ } 029+ object(MyArrayIterator)#6 (1) { 030+ ["storage":"ArrayIterator":private]=> 031+ array(0) { 032+ } 008- ["child"]=> 009- int(42) 010- ["parent"]=> 011- int(2) 013- object(MyObjectStorage)#%d (2) { 014- ["child"]=> 015- int(42) 016- ["parent"]=> 034+ object(MyMaxHeap)#7 (3) { 035+ ["flags":"SplHeap":private]=> 036+ int(0) 037+ ["isCorrupted":"SplHeap":private]=> 038+ bool(false) 039+ ["heap":"SplHeap":private]=> 040+ array(0) { 041+ } 042+ } 043+ object(MyPriorityQueue)#8 (3) { 044+ ["flags":"SplPriorityQueue":private]=> 046+ ["isCorrupted":"SplPriorityQueue":private]=> 047+ bool(false) 048+ ["heap":"SplPriorityQueue":private]=> 049+ array(0) { 050+ } 019- object(MyMultipleIterator)#%d (2) { 020- ["child"]=> 021- int(42) 022- ["parent"]=> 023- int(1) 024- } 025- object(MyArrayObject)#%d (2) { 026- ["child"]=> 027- int(42) 028- ["parent"]=> 029- int(1) 030- } 031- object(MyArrayIterator)#%d (2) { 032- ["child"]=> 033- int(42) 034- ["parent"]=> 035- int(1) 036- } 037- object(MyMaxHeap)#%d (2) { 038- ["child"]=> 039- int(42) 040- ["parent"]=> 041- int(3) 042- } 043- object(MyPriorityQueue)#%d (2) { 044- ["child"]=> 045- int(42) 046- ["parent"]=> 047- int(3) 048- }
1 (11%)
002+ ["pathName":"SplFileInfo":private]=> 003+ string(51) %s/bug69264.php" 004+ ["fileName":"SplFileInfo":private]=> 005+ string(12) "bug69264.php" 002- ["child"]=> 003- int(42) 004- ["parent"]=> 005- int(2) 008+ ["flags":"SplDoublyLinkedList":private]=> 009+ int(0) 010+ ["dllist":"SplDoublyLinkedList":private]=> 011+ array(0) { 012+ } 013+ } 014+ object(MyObjectStorage)#3 (1) { 015+ ["storage":"SplObjectStorage":private]=> 016+ array(0) { 017+ } 018+ } 019+ object(MyMultipleIterator)#4 (1) { 020+ ["storage":"SplObjectStorage":private]=> 021+ array(0) { 022+ } 023+ } 024+ object(MyArrayObject)#5 (1) { 025+ ["storage":"ArrayObject":private]=> 026+ array(0) { 027+ } 028+ } 029+ object(MyArrayIterator)#6 (1) { 030+ ["storage":"ArrayIterator":private]=> 031+ array(0) { 032+ } 008- ["child"]=> 009- int(42) 010- ["parent"]=> 011- int(2) 013- object(MyObjectStorage)#%d (2) { 014- ["child"]=> 015- int(42) 016- ["parent"]=> 034+ object(MyMaxHeap)#7 (3) { 035+ ["flags":"SplHeap":private]=> 036+ int(0) 037+ ["isCorrupted":"SplHeap":private]=> 038+ bool(false) 039+ ["heap":"SplHeap":private]=> 040+ array(0) { 041+ } 042+ } 043+ object(MyPriorityQueue)#8 (3) { 044+ ["flags":"SplPriorityQueue":private]=> 046+ ["isCorrupted":"SplPriorityQueue":private]=> 047+ bool(false) 048+ ["heap":"SplPriorityQueue":private]=> 049+ array(0) { 050+ } 019- object(MyMultipleIterator)#%d (2) { 020- ["child"]=> 021- int(42) 022- ["parent"]=> 023- int(1) 024- } 025- object(MyArrayObject)#%d (2) { 026- ["child"]=> 027- int(42) 028- ["parent"]=> 029- int(1) 030- } 031- object(MyArrayIterator)#%d (2) { 032- ["child"]=> 033- int(42) 034- ["parent"]=> 035- int(1) 036- } 037- object(MyMaxHeap)#%d (2) { 038- ["child"]=> 039- int(42) 040- ["parent"]=> 041- int(3) 042- } 043- object(MyPriorityQueue)#%d (2) { 044- ["child"]=> 045- int(42) 046- ["parent"]=> 047- int(3) 048- }