xref: /PHP-7.4/sapi/phpdbg/tests/bug73704.phpt (revision 3b2b080c)
1--TEST--
2Bug #73704 (phpdbg shows the wrong line in files with shebang)
3--PHPDBG--
4list 6
5b 4
6r
7c
8q
9--EXPECTF--
10[Successful compilation of %s]
11prompt>  00001: #!/usr/bin/env php
12 00002: <?php
13 00003:
14 00004: echo 1;
15 00005:
16prompt> [Breakpoint #0 added at %s:4]
17prompt> [Breakpoint #0 at %s:4, hits: 1]
18>00004: echo 1;
19 00005:
20prompt> 1
21[Script ended normally]
22prompt>
23--FILE--
24#!/usr/bin/env php
25<?php
26
27echo 1;
28