|  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
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:
44 + 41 = ?
Subscribe to this entry?

 [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-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 09:01:31 2024 UTC