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

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

Count Diff
1 (50%)
008+ prompt> [$a has been removed, removing watchpoint recursively] 009+ [Script ended normally] 010+ prompt> [Breakpoint at %s/watch_005.php:3 exists] 011+ prompt> [Breakpoint at %s/watch_005.php:3 exists] 012+ prompt> [Breakpoint at %s/watch_005.php:3 exists] 013+ prompt> 008- prompt> [Breaking on watchpoint $a] 009- Old value: 010- New value: aa 011- >00005: $c = &$a; 012- 00006: $a[1] = "b"; 013- 00007: 014- prompt> [Breaking on watchpoint $a] 015- Old value inaccessible or destroyed 016- New value (reference): aa 017- >00006: $a[1] = "b"; 018- 00007: 019- 00008: exit; 020- prompt> [Breaking on watchpoint $a] 021- Old value: aa 022- New value: ab 023- >00008: exit; 024- 00009: 025- prompt> [$a has been removed, removing watchpoint recursively] 026- [Script ended normally] 027- 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: $b = "a"; 005- 00004: $a = $b.$b; 006- 00005: $c = &$a; 007- prompt> [Added recursive watchpoint #0 for $a] 008- prompt> [Breaking on watchpoint $a] 009- Old value: 010- New value: aa 011- >00005: $c = &$a; 012- 00006: $a[1] = "b"; 013- 00007: 014- prompt> [Breaking on watchpoint $a] 015- Old value inaccessible or destroyed 016- New value (reference): aa 017- >00006: $a[1] = "b"; 018- 00007: 019- 00008: exit; 020- prompt> [Breaking on watchpoint $a] 021- Old value: aa 022- New value: ab 023- >00008: exit; 024- 00009: 025- prompt> [$a has been removed, removing watchpoint recursively] 026- [Script ended normally] 027- prompt>