Bug #80519 [Opn->Csd]: Invalid opcode.
| From: | nikic@php.net | Date: | Tue, 15 Dec 2020 19:11:07 +0000 |
| Subject: | Bug #80519 [Opn->Csd]: Invalid opcode. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231103@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80519&edit=1
ID: 80519
Updated by: nikic@php.net
Reported by: shafer_w2002 at yahoo dot com
Summary: Invalid opcode.
-Status: Open
+Status: Closed
Type: Bug
Package: opcache
Operating System: Ubuntu
PHP Version: 8.0.0
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
This is a known bug in PHP 8.0.0 and will be fixed in the upcoming 8.0.1 release.
You can use opcache.optimization_level=0 as a temporary workaround.
Previous Comments:
------------------------------------------------------------------------
[2020-12-15 17:50:47] shafer_w2002 at yahoo dot com
Description:
------------
When running package "defuse/php-encryption" version 2.2.1, I get the error "Invalid
opcode 117/2/0. at [snip]/vendor/defuse/php-encryption/src/Core.php:412"
Changing the lines of code "\in_array()" to "in_array()" in
defuse/php-encryption/src/Core.php and the error goes away.
Test script:
---------------
This package is part of Laravel's Oauth server Passport. Installing this and trying to auth
using the PHP 8 Dockers image you will see the error.
Expected result:
----------------
No error
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80519&edit=1