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

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

Count Diff
4 (44%)
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]
3 (33%)
007+ prompt>
008+ Termsig=11
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>
2 (22%)
007+ prompt>
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>