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

Bug #73927 phpdbg fails with windows error prompt at "watch array"
Submitted: 2017-01-13 14:28:04 Modified: 2020-05-25 22:58:50
From: stahlstift Assigned: cmb
Status: Closed Package: phpdbg
PHP Version: 7.0.14 OS: Windows 10 Pro

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

Count Diff
1 (50%)
012+ prompt> 012- prompt> [Added watchpoint #1 for $lower[0]] 013- prompt> [$lower[0] has been removed, removing watchpoint] 014- [$value has been removed, removing watchpoint]
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:%d] 003- prompt> [Breakpoint #0 at %s:%d, hits: 1] 004- >00019: if ($value < 100) { 005- 00020: $lower[] = $value; 006- 00021: } else { 007- prompt> [Breakpoint #0 at %s:%d, hits: 2] 008- >00019: if ($value < 100) { 009- 00020: $lower[] = $value; 010- 00021: } else { 011- prompt> [Added watchpoint #0 for $value] 012- prompt> [Added watchpoint #1 for $lower[0]] 013- prompt> [$lower[0] has been removed, removing watchpoint] 014- [$value has been removed, removing watchpoint]