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

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

Count Diff
2 (29%)
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 (29%)
001+ Zend OPcache requires Zend Engine API version 320180731.
002+ The Zend Engine API version 420190128 which is installed, is newer.
003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
004+
023+ Zend OPcache requires Zend Engine API version 320180731.
024+ The Zend Engine API version 420190128 which is installed, is newer.
025+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
026+
1 (14%)
019+
019- prompt>
020+ Termsig=11
1 (14%)
007+ prompt> Segmentation fault
008+
009+ 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>
1 (14%)
001+ /home/linkpi/work/php-7.3.11/sapi/phpdbg/phpdbg: 1: /home/linkpi/work/php-7.3.11/sapi/phpdbg/phpdbg: Syntax error: word unexpected (expecting ")")
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>