summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_opcode.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-06 18:05:03 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-07-06 18:05:03 +0200
commita919fe86061b8e68fd4910a61fe7c9eee9151424 (patch)
treefc7e384a88421fd3facbc3992d214d551e98b6d7 /sapi/phpdbg/phpdbg_opcode.c
parentb3ab7c13dc0107ca8da61d9d965933fc26be3dcb (diff)
downloadphp-git-a919fe86061b8e68fd4910a61fe7c9eee9151424.tar.gz
Do not display EXT_TYPE_UNUSED in phpdbg opcodes
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 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 : '+');