php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: giovanni at giacobbi dot net
New email:
PHP Version: OS:

 

 [2017-09-20 00:29 UTC] giovanni at giacobbi dot net
Description:
------------
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:
---------------
<?php
function f() {
  $retval = false;
  if ($retval) { }
}
f();
exit("OK");


Expected result:
----------------
OK

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-24 10:01 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ed2a5ebaeb9fa1d78832ce08a2664bd3d47babbe
Log: Fixed bug #75230 (Invalid opcode 49/1/8 using opcache)
 [2017-09-24 10:01 UTC] laruence@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC