|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75267 php-7.1.10/ext/opcache/Optimizer/zend_dump.c:693: possible &/&& mixup ?
Submitted: 2017-09-27 10:01 UTC Modified: -
From: dcb314 at hotmail dot com Assigned:
Status: Closed Package: opcache
PHP Version: 7.1.10RC1 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: dcb314 at hotmail dot com
New email:
PHP Version: OS:


 [2017-09-27 10:01 UTC] dcb314 at hotmail dot com
php-7.1.10/ext/opcache/Optimizer/zend_dump.c:693]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.

Source code is

   if (!(dump_flags & ZEND_DUMP_HIDE_UNREACHABLE) & !(b->flags & ZEND_BB_REACHABLE)) {

Maybe better code

   if (!(dump_flags & ZEND_DUMP_HIDE_UNREACHABLE) && !(b->flags & ZEND_BB_REACHABLE)) {


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-29 03:18 UTC]
Automatic comment on behalf of
Log: Fixed bug #75267 (possible &/&& mixup)
 [2017-09-29 03:18 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 09 20:05:53 2022 UTC