Bug #80006 [Com]: phpdbg next command doesn't step over as documented
Edit report at https://bugs.php.net/bug.php?id=80006&edit=1
ID: 80006
Comment by: lequangmkp36 at gmail dot com
Reported by: bernhardsonerik at gmail dot com
Summary: phpdbg next command doesn't step over as documented
Status: Open
Type: Bug
Package: phpdbg
Operating System: Ubuntu focal
PHP Version: 7.2.33
Block user comment: N
Private report: N
New Comment:
Thanks for sharing this, this is amazing. i like it.
(https://github.com)(https://qrcodescanner.org/)
Previous Comments:
------------------------------------------------------------------------
[2020-08-22 20:59:44] cmb@php.net
The following pull request has been associated:
Patch Name: phpdbg next command must step over function calls
On GitHub: https://github.com/php/php-src/pull/6031
Patch: https://github.com/php/php-src/pull/6031.patch
------------------------------------------------------------------------
[2020-08-21 22:05:41] bernhardsonerik at gmail dot com
Description:
------------
The help description for the next command says step over next line, but that functionality does not
appear to work.
Test script:
---------------
<?php
function foo() {
echo 0;
}
foo();
echo 1;
Expected result:
----------------
When at the interactive phpdbg command prompt on line 7, expect that executing the next command will
step over the foo() function call and stop on line 8.
Actual result:
--------------
phpdbg stops inside the foo function.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80006&edit=1
Thread (4 messages)