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

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

Count Diff
6 (75%)
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
014+ prompt> [Breakpoint at %s/watch_003.php:6 exists]
2 (25%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:6]
003- prompt> [Breakpoint #0 at %s:6, hits: 1]
004- >00006: $a[0] = 2;
005- 00007:
006- 00008: $a = [0 => 3, 1 => 4];
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>