Skip to content

phpdbg8.1 -vrr does not print opcodes anymore #10735

Open
@tifeit

Description

@tifeit

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions