Skip to content

Fix GH-25337: Include line numbers in all OPcache bytecode debug dumps - #25582

Open
prateekbhujel wants to merge 1 commit into
php:PHP-8.6from
prateekbhujel:fix/gh25337-opcache-dump-line-numbers
Open

prateekbhujel wants to merge 1 commit into
php:PHP-8.6from
prateekbhujel:fix/gh25337-opcache-dump-line-numbers

Conversation

@prateekbhujel

Copy link
Copy Markdown
Contributor

Forward ZEND_DUMP_LINE_NUMBERS when ZEND_DUMP_LINE_NUMBERS_PASSTHRU (0x40000000) is set in opcache.opt_debug_level across all zend_dump_op_array() calls in Zend/Optimizer/zend_optimizer.c, Zend/Optimizer/block_pass.c, and Zend/Optimizer/dfa_pass.c, rather than only the before optimizer dump.

Fixes GH-25337.

…umps

Forward ZEND_DUMP_LINE_NUMBERS when ZEND_DUMP_LINE_NUMBERS_PASSTHRU
is set in opcache.opt_debug_level across all zend_dump_op_array()
calls in zend_optimizer.c, block_pass.c, and dfa_pass.c, rather than
only the before-optimizer dump.

Closes phpGH-25337.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant