mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
Add extended_value to phpdbg opcode dump
This commit is contained in:
parent
e4ebd9a28a
commit
764b529efd
@ -99,6 +99,11 @@ char *phpdbg_decode_opline(zend_op_array *ops, zend_op *opline) /*{{{ */
|
||||
uint32_t flags = zend_get_opcode_flags(opline->opcode);
|
||||
char *result, *decode[4] = {NULL, NULL, NULL, NULL};
|
||||
|
||||
/* OpcodeName */
|
||||
if (opline->extended_value) {
|
||||
spprintf(&decode[0], 0, "%s<%" PRIi32 ">", opcode_name, opline->extended_value);
|
||||
}
|
||||
|
||||
/* OP1 */
|
||||
decode[1] = phpdbg_decode_input_op(
|
||||
ops, opline, opline->op1, opline->op1_type, ZEND_VM_OP1_FLAGS(flags));
|
||||
|
Loading…
Reference in New Issue
Block a user