Test: /sapi/phpdbg/tests/watch_006.phpt - Version 8.0.0-dev    

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

Count Diff
59 (73%)
009+ prompt> [$a[0] has been removed, removing watchpoint] 010+ [$b has been removed, removing watchpoint recursively] 011+ [Script ended normally] 012+ prompt> [Breakpoint at %s/watch_006.php:4 exists] 013+ prompt> [Breakpoint at %s/watch_006.php:4 exists] 014+ prompt> [Breakpoint at %s/watch_006.php:4 exists] 015+ prompt> [Breakpoint at %s/watch_006.php:4 exists] 016+ prompt> [Breakpoint at %s/watch_006.php:4 exists] 017+ prompt> [Breakpoint at %s/watch_006.php:4 exists] 018+ prompt> 009- prompt> [Breaking on watchpoint $a[0]] 010- Old value: 0 011- New value: 1 012- >00005: $b = &$a; 013- 00006: $a[0] = 2; 014- 00007: $a[1] = 3; 015- prompt> [Breaking on watchpoint $b] 016- Old value: 017- New value (reference): Array ([0] => 1) 018- >00006: $a[0] = 2; 019- 00007: $a[1] = 3; 020- 00008: $c = [1]; 021- prompt> [Breaking on watchpoint $a[0]] 022- Old value: 1 023- New value: 2 024- >00007: $a[1] = 3; 025- 00008: $c = [1]; 026- 00009: $b = &$c; 027- prompt> [Element 1 has been added to watchpoint] 028- [Breaking on watchpoint $b[]] 029- 1 elements were added to the array 030- >00008: $c = [1]; 031- 00009: $b = &$c; 032- 00010: 033- prompt> [Breaking on watchpoint $b] 034- Old value inaccessible or destroyed 035- New value (reference): Array ([0] => 2,[1] => 3) 036- >00009: $b = &$c; 037- 00010: 038- prompt> [Breaking on watchpoint $b] 039- Old value inaccessible or destroyed 040- New value (reference): Array ([0] => 1) 041- >00010: 042- prompt> [$b has been removed, removing watchpoint recursively] 043- [$a[0] has been removed, removing watchpoint] 044- [Script ended normally] 045- prompt>
16 (20%)
009+ prompt> [$a[0] has been removed, removing watchpoint]
010+ [$b has been removed, removing watchpoint recursively]
011+ [Script ended normally]
012+ prompt> [Breakpoint at %s/watch_006.php:4 exists]
013+ prompt> [Breakpoint at %s/watch_006.php:4 exists]
014+ prompt> [Breakpoint at %s/watch_006.php:4 exists]
015+ prompt> [Breakpoint at %s/watch_006.php:4 exists]
016+ prompt> [Breakpoint at %s/watch_006.php:4 exists]
017+ prompt> [Breakpoint at %s/watch_006.php:4 exists]
018+ prompt>
009- prompt> [Breaking on watchpoint $a[0]]
010- Old value: 0
011- New value: 1
012- >00005: $b = &$a;
013- 00006: $a[0] = 2;
014- 00007: $a[1] = 3;
015- prompt> [Breaking on watchpoint $b]
016- Old value:
017- New value (reference): Array ([0] => 1)
018- >00006: $a[0] = 2;
019- 00007: $a[1] = 3;
020- 00008: $c = [1];
021- prompt> [Breaking on watchpoint $a[0]]
022- Old value: 1
023- New value: 2
024- >00007: $a[1] = 3;
025- 00008: $c = [1];
026- 00009: $b = &$c;
027- prompt> [Element 1 has been added to watchpoint]
028- [Breaking on watchpoint $b[]]
029- 1 elements were added to the array
030- >00008: $c = [1];
031- 00009: $b = &$c;
032- 00010:
033- prompt> [Breaking on watchpoint $b]
034- Old value inaccessible or destroyed
035- New value (reference): Array ([0] => 2,[1] => 3)
036- >00009: $b = &$c;
037- 00010:
038- prompt> [Breaking on watchpoint $b]
039- Old value inaccessible or destroyed
040- New value (reference): Array ([0] => 1)
041- >00010:
042- prompt> [$b has been removed, removing watchpoint recursively]
043- [$a[0] has been removed, removing watchpoint]
044- [Script ended normally]
045- prompt>
2 (2%)
018+ 019+ [Element 0 has been added to watchpoint]
1 (1%)
028+ [Element 0 has been added to watchpoint]
1 (1%)
028+ /home/travis/build/TysonAndre/php-src/Zend/zend_hash.c(2233) : ht=0x7f7f4de66700 is already destroyed
029+ phpdbg: /home/travis/build/TysonAndre/php-src/Zend/zend_hash.c:71: _zend_is_inconsistent: Assertion `0' failed.
030+ Aborted (core dumped)
031+
032+ Termsig=6
028- [Breaking on watchpoint $b[]]
029- 1 elements were added to the array
030- >00008: $c = [1];
031- 00009: $b = &$c;
032- 00010:
033- prompt> [Breaking on watchpoint $b]
034- Old value inaccessible or destroyed
035- New value (reference): Array ([0] => 2,[1] => 3)
036- >00009: $b = &$c;
037- 00010:
038- prompt> [Breaking on watchpoint $b]
039- Old value inaccessible or destroyed
040- New value (reference): Array ([0] => 1)
041- >00010:
042- prompt> [$b has been removed, removing watchpoint recursively]
043- [$a[0] has been removed, removing watchpoint]
044- [Script ended normally]
045- prompt>
1 (1%)
007+ prompt> 008+ ** ERROR: process timed out ** 007- prompt> [Added watchpoint #0 for $a[0]] 008- prompt> [Added recursive watchpoint #1 for $b] 009- prompt> [Breaking on watchpoint $a[0]] 010- Old value: 0 011- New value: 1 012- >00005: $b = &$a; 013- 00006: $a[0] = 2; 014- 00007: $a[1] = 3; 015- prompt> [Breaking on watchpoint $b] 016- Old value: 017- New value (reference): Array ([0] => 1) 018- >00006: $a[0] = 2; 019- 00007: $a[1] = 3; 020- 00008: $c = [1]; 021- prompt> [Breaking on watchpoint $a[0]] 022- Old value: 1 023- New value: 2 024- >00007: $a[1] = 3; 025- 00008: $c = [1]; 026- 00009: $b = &$c; 027- prompt> [Element 1 has been added to watchpoint] 028- [Breaking on watchpoint $b[]] 029- 1 elements were added to the array 030- >00008: $c = [1]; 031- 00009: $b = &$c; 032- 00010: 033- prompt> [Breaking on watchpoint $b] 034- Old value inaccessible or destroyed 035- New value (reference): Array ([0] => 2,[1] => 3) 036- >00009: $b = &$c; 037- 00010: 038- prompt> [Breaking on watchpoint $b] 039- Old value inaccessible or destroyed 040- New value (reference): Array ([0] => 1) 041- >00010: 042- prompt> [$b has been removed, removing watchpoint recursively] 043- [$a[0] has been removed, removing watchpoint] 044- [Script ended normally] 045- prompt>
1 (1%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Breakpoint #0 at %s:4, hits: 1]
004- >00004: $a[0] = 1;
005- 00005: $b = &$a;
006- 00006: $a[0] = 2;
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Added recursive watchpoint #1 for $b]
009- prompt> [Breaking on watchpoint $a[0]]
010- Old value: 0
011- New value: 1
012- >00005: $b = &$a;
013- 00006: $a[0] = 2;
014- 00007: $a[1] = 3;
015- prompt> [Breaking on watchpoint $b]
016- Old value:
017- New value (reference): Array ([0] => 1)
018- >00006: $a[0] = 2;
019- 00007: $a[1] = 3;
020- 00008: $c = [1];
021- prompt> [Breaking on watchpoint $a[0]]
022- Old value: 1
023- New value: 2
024- >00007: $a[1] = 3;
025- 00008: $c = [1];
026- 00009: $b = &$c;
027- prompt> [Element 1 has been added to watchpoint]
028- [Breaking on watchpoint $b[]]
029- 1 elements were added to the array
030- >00008: $c = [1];
031- 00009: $b = &$c;
032- 00010:
033- prompt> [Breaking on watchpoint $b]
034- Old value inaccessible or destroyed
035- New value (reference): Array ([0] => 2,[1] => 3)
036- >00009: $b = &$c;
037- 00010:
038- prompt> [Breaking on watchpoint $b]
039- Old value inaccessible or destroyed
040- New value (reference): Array ([0] => 1)
041- >00010:
042- prompt> [$b has been removed, removing watchpoint recursively]
043- [$a[0] has been removed, removing watchpoint]
044- [Script ended normally]
045- prompt>