From: Bob Weinand Date: Mon, 6 Jul 2015 16:05:03 +0000 (+0200) Subject: Do not display EXT_TYPE_UNUSED in phpdbg opcodes X-Git-Tag: php-7.0.0beta1~12^2~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a919fe8;p=php Do not display EXT_TYPE_UNUSED in phpdbg opcodes --- diff --git a/sapi/phpdbg/phpdbg_opcode.c b/sapi/phpdbg/phpdbg_opcode.c index 7dc9e7f1df..3af52f17cd 100644 --- a/sapi/phpdbg/phpdbg_opcode.c +++ b/sapi/phpdbg/phpdbg_opcode.c @@ -31,7 +31,7 @@ static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t { char *decode = NULL; - switch (type &~ EXT_TYPE_UNUSED) { + switch (type) { case IS_CV: { zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)]; asprintf(&decode, "$%.*s%c", ZSTR_LEN(var) <= 19 ? (int) ZSTR_LEN(var) : 18, ZSTR_VAL(var), ZSTR_LEN(var) <= 19 ? 0 : '+');