Bug #75230 [Opn->Csd]: Invalid opcode 49/1/8 using opcache
| From: | laruence@php.net | Date: | Sun, 24 Sep 2017 10:01:53 +0000 |
| Subject: | Bug #75230 [Opn->Csd]: Invalid opcode 49/1/8 using opcache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-211341@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75230&edit=1
ID: 75230
Updated by: laruence@php.net
Reported by: giovanni at giacobbi dot net
Summary: Invalid opcode 49/1/8 using opcache
-Status: Open
+Status: Closed
Type: Bug
Package: opcache
Operating System: Linux CentOS 7.4.1708
PHP Version: 7.2.0RC2
Block user comment: N
Private report: N
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[2017-09-20 00:29:09] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75230&edit=1