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
 [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

Pull Requests

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: Sun Oct 06 00:01:28 2024 UTC