|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
36 + 15 = ?
Subscribe to this entry?

 [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: Mon Nov 28 11:05:53 2022 UTC