diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-04-20 20:58:52 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-04-20 20:59:13 +0200 |
commit | 5f10e84208c259a55db96789e9cbdf7e6af596a2 (patch) | |
tree | d82935cc83b81b6bb6c062a7010991b99e2bfa3f /sapi/phpdbg/phpdbg_print.c | |
parent | 0381c1b79e9491e68c9ca85a21e0a5bd68f3840f (diff) | |
download | php-git-5f10e84208c259a55db96789e9cbdf7e6af596a2.tar.gz |
Shrink phpdbg opcode dump output a bit more
Diffstat (limited to 'sapi/phpdbg/phpdbg_print.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_print.c b/sapi/phpdbg/phpdbg_print.c index ffd22859af..c1cea6ede0 100644 --- a/sapi/phpdbg/phpdbg_print.c +++ b/sapi/phpdbg/phpdbg_print.c @@ -85,10 +85,10 @@ static inline void phpdbg_print_function_helper(zend_function *method) /* {{{ */ do { char *decode = phpdbg_decode_opline(op_array, opline, &vars); if (decode != NULL) { - phpdbg_writeln("print", "line=\"%u\" opnum=\"%u\" opcode=\"%s\" op=\"%s\"", " L%-5u #%-5u %-36s %s", + phpdbg_writeln("print", "line=\"%u\" opnum=\"%u\" opcode=\"%s\" op=\"%s\"", " L%-4u #%-5u %-23s %s", opline->lineno, opcode, - phpdbg_decode_opcode(opline->opcode), + phpdbg_decode_opcode(opline->opcode) + 5, /* remove ZEND_ prefix */ decode); free(decode); } else { |