summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_opcode.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-24 23:40:02 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-07-24 23:40:18 +0200
commitcf8598593525664d7c66a7998fae68ee9268e60e (patch)
tree9ac6a79aced26c00bd510598a20a08bfa798f08d /sapi/phpdbg/phpdbg_opcode.c
parent9bae11d170849aeffe363c351c80649595606ff1 (diff)
downloadphp-git-cf8598593525664d7c66a7998fae68ee9268e60e.tar.gz
Fix print of ZEND_CATCH
Diffstat (limited to 'sapi/phpdbg/phpdbg_opcode.c')
-rw-r--r--sapi/phpdbg/phpdbg_opcode.c2
1 files changed, 1 insertions, 1 deletions
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);