]> granicus.if.org Git - php/commitdiff
Fixed bug #75267 (possible &/&& mixup)
authorXinchen Hui <laruence@gmail.com>
Fri, 29 Sep 2017 03:16:32 +0000 (11:16 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 29 Sep 2017 03:16:32 +0000 (11:16 +0800)
ext/opcache/Optimizer/zend_dump.c

index 2167fa6e6b316cfc2f5a0f4179827fe9af886bf4..a207f5e59f766e7726491a9ff9f8ea3abb351e41 100644 (file)
@@ -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) {