Test: /sapi/phpdbg/tests/watch_004.phpt - Version 7.2.23    

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

Count Diff
6 (75%)
008+ prompt> [$a has been removed, removing watchpoint]
009+ [Script ended normally]
010+ prompt> [Breakpoint at %s/watch_004.php:3 exists]
011+ prompt> [Breakpoint at %s/watch_004.php:3 exists]
012+ prompt>
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
2 (25%)
001+ Segmentation fault (core dumped)
002+
003+ 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: $b = "a";
005- 00004: $a = $b.$b;
006- 00005: $a[1] = "b";
007- prompt> [Added watchpoint #0 for $a]
008- prompt> [Breaking on watchpoint $a]
009- Old value:
010- New value: aa
011- >00005: $a[1] = "b";
012- 00006:
013- prompt> [Breaking on watchpoint $a]
014- Old value: aa
015- New value: ab
016- >00006:
017- prompt> [$a has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>