Test: /sapi/phpdbg/tests/bug73704.phpt - Version 7.2.13        

Bug #73704 phpdbg shows the wrong line in files with shebang
Submitted: 2016-12-09 14:31:05 Modified: 2017-01-02 09:22:57
From: stahlstift Assigned: bwoebi
Status: Closed Package: phpdbg
PHP Version: 7.0.14 OS: Windows 10 Pro

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

Count Diff
42 (72%)
013+
013- prompt>
014+ Termsig=11
5 (9%)
013- prompt>
4 (7%)
013+ Segmentation fault (core dumped)
013- prompt>
014+
015+ Termsig=11
4 (7%)
013+ Segmentation fault
013- prompt>
014+
015+ Termsig=11
1 (2%)
013+ Segmentation fault
013- prompt>
1 (2%)
013+ Bus error (core dumped)
013- prompt>
014+
015+ Termsig=7
1 (2%)
001+ sh: /root/php/php-7.2.13/sapi/phpdbg/phpdbg: cannot execute binary file: Exec format error
001- [Successful compilation of %s]
002- prompt> 00001: #!/usr/bin/env php
003- 00002: <?php
004- 00003:
005- 00004: echo 1;
006- 00005:
007- prompt> [Breakpoint #0 added at %s:4]
008- prompt> [Breakpoint #0 at %s:4, hits: 1]
009- >00004: echo 1;
010- 00005:
011- prompt> 1
012- [Script ended normally]
013- prompt>