com php-src: Do not display EXT_TYPE_UNUSED in phpdbg opcodes: sapi/phpdbg/phpdbg_opcode.c

From: Date: Mon, 06 Jul 2015 16:05:03 +0000
Subject: com php-src: Do not display EXT_TYPE_UNUSED in phpdbg opcodes: sapi/phpdbg/phpdbg_opcode.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87767@lists.php.net to get a copy of this message
Commit: a919fe86061b8e68fd4910a61fe7c9eee9151424 Author: Bob Weinand <bobwei9@hotmail.com> Mon, 6 Jul 2015 18:05:03 +0200 Parents: b3ab7c13dc0107ca8da61d9d965933fc26be3dcb Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a919fe86061b8e68fd4910a61fe7c9eee9151424 Log: Do not display EXT_TYPE_UNUSED in phpdbg opcodes Changed paths: M sapi/phpdbg/phpdbg_opcode.c Diff: diff --git a/sapi/phpdbg/phpdbg_opcode.c b/sapi/phpdbg/phpdbg_opcode..c index 7dc9e7f..3af52f1 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 : '+');

« previous php.cvs (#87767) next »