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

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

Count Diff
1 (50%)
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 (50%)
001+ sh: /wi_wanty/myweb/php-7.4.8/sapi/phpdbg/phpdbg: cannot execute binary file 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>