Test: /sapi/phpdbg/tests/watch_001.phpt - Version 7.1.20    

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

Count Diff
16 (73%)
025+
025- prompt>
026+ Termsig=11
3 (14%)
025+ Segmentation fault (core dumped)
025- prompt>
026+
027+ Termsig=11
1 (5%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:3]
003- prompt> [Breakpoint #0 at %s:3, hits: 1]
004- >00003: $a = 1;
005- 00004: $b = [$a];
006- 00005:
007- prompt> [Added recursive watchpoint #0 for $b]
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b has been removed, removing watchpoint recursively]
024- [Script ended normally]
025- prompt>
1 (5%)
008+ prompt> [$b has been removed, removing watchpoint recursively]
009+ [Script ended normally]
010+ prompt> [Breakpoint at %s/watch_001.php:3 exists]
011+ prompt> [Breakpoint at %s/watch_001.php:3 exists]
012+ prompt> [Breakpoint at %s/watch_001.php:3 exists]
013+ prompt>
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b has been removed, removing watchpoint recursively]
024- [Script ended normally]
025- prompt>
1 (5%)
025+ Segmentation fault
025- prompt>