From cf8598593525664d7c66a7998fae68ee9268e60e Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Fri, 24 Jul 2015 23:40:02 +0200 Subject: Fix print of ZEND_CATCH --- sapi/phpdbg/phpdbg_opcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_opcode.c') diff --git a/sapi/phpdbg/phpdbg_opcode.c b/sapi/phpdbg/phpdbg_opcode.c index 4361872a79..092fcb985c 100644 --- a/sapi/phpdbg/phpdbg_opcode.c +++ b/sapi/phpdbg/phpdbg_opcode.c @@ -143,7 +143,7 @@ char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op) /*{{{ */ /* RESULT */ switch (op->opcode) { case ZEND_CATCH: - spprintf(&decode[2], 0, "%" PRIu32, op->result.num); + spprintf(&decode[3], 0, "%" PRIu32, op->result.num); break; default: decode[3] = phpdbg_decode_op(ops, &op->result, op->result_type); -- cgit v1.2.1