From 5f10e84208c259a55db96789e9cbdf7e6af596a2 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 20 Apr 2015 20:58:52 +0200 Subject: Shrink phpdbg opcode dump output a bit more --- sapi/phpdbg/phpdbg_print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sapi/phpdbg/phpdbg_print.c') 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 { -- cgit v1.2.1