com php-src: Fixed bug #75267 (possible &/&& mixup): ext/opcache/Optimizer/zend_dump.c

From: Date: Fri, 29 Sep 2017 03:16:32 +0000
Subject: com php-src: Fixed bug #75267 (possible &/&& mixup): ext/opcache/Optimizer/zend_dump.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99574@lists.php.net to get a copy of this message
Commit: 9fd33c1f20a95c5cdbc7c161708ef0db6156877e Author: Xinchen Hui <laruence@gmail.com> Fri, 29 Sep 2017 11:16:32 +0800 Parents: b5bc88c64ef241924b55162f9b5dc751be7e10f1 Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9fd33c1f20a95c5cdbc7c161708ef0db6156877e Log: Fixed bug #75267 (possible &/&& mixup) Bugs: https://bugs.php.net/75267 Changed paths: M ext/opcache/Optimizer/zend_dump.c Diff: diff --git a/ext/opcache/Optimizer/zend_dump.c b/ext/opcache/Optimizer/zend_dump.c index 2167fa6..a207f5e 100644 --- a/ext/opcache/Optimizer/zend_dump.c +++ b/ext/opcache/Optimizer/zend_dump.c @@ -690,7 +690,7 @@ static void zend_dump_block_info(const zend_cfg *cfg, int n, uint32_t dump_flags if (b->flags & ZEND_BB_KILL_VAR) { fprintf(stderr, " kill_var"); } - if (!(dump_flags & ZEND_DUMP_HIDE_UNREACHABLE) & !(b->flags & ZEND_BB_REACHABLE)) { + if (!(dump_flags & ZEND_DUMP_HIDE_UNREACHABLE) && !(b->flags & ZEND_BB_REACHABLE)) { fprintf(stderr, " unreachable"); } if (b->flags & ZEND_BB_LOOP_HEADER) {

« previous php.cvs (#99574) next »