phpdbg8.1 -vrr does not print opcodes anymore
Open
Nobody has claimed this yet.
Bug
SAPI: phpdbg
Status: Needs Triage
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
The following code:
<?php
echo 'hello world';
Resulted in this output:
$ phpdbg8.1 -vrr test.php
[Welcome to phpdbg, the interactive PHP debugger, v8.1.13]
To get help using phpdbg type "help" and press enter
[Please report bugs to <http://bugs.php.net/report.php>]
hello world
But I expected this output instead:
$ phpdbg8.0 -vrr test.php
[Welcome to phpdbg, the interactive PHP debugger, v8.0.26]
To get help using phpdbg type "help" and press enter
[Please report bugs to <http://bugs.php.net/report.php>]
[L3 0x7fe350a7c080 EXT_STMT /home/mf/test.php]
[L3 0x7fe350a7c0a0 ECHO "hello world" /home/mf/test.php]
hello world
[L4 0x7fe350a7c0c0 RETURN<-1> 1 /home/mf/test.php]
PHP Version
PHP 8.1.13
Operating System
Ubuntu 18.04
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the regression with phpdbg8.1 -vrr using the PHP script shown, then compare it with the phpdbg8.0 output. Trace the verbose opcode-display path and verify that the command again prints opcode lines before and after the script output.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100