|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75230 Invalid opcode 49/1/8 using opcache
Submitted: 2017-09-20 00:29 UTC Modified: -
From: giovanni at giacobbi dot net Assigned:
Status: Closed Package: opcache
PHP Version: 7.2.0RC2 OS: Linux CentOS 7.4.1708
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: giovanni at giacobbi dot net
New email:
PHP Version: OS:


 [2017-09-20 00:29 UTC] giovanni at giacobbi dot net
After the script is opcache'd, it results in the error below.

Testing environment: Apache 2.4.27 with event MPM on 64bit

Haven't tested for regression.

Test script:
function f() {
  $retval = false;
  if ($retval) { }

Expected result:

Actual result:
PHP Fatal error:  Invalid opcode 49/1/8. in [...] on line 4


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-24 10:01 UTC]
Automatic comment on behalf of
Log: Fixed bug #75230 (Invalid opcode 49/1/8 using opcache)
 [2017-09-24 10:01 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Nov 29 13:01:28 2023 UTC