Bug #80519 [NEW]: Invalid opcode.

From: Date: Tue, 15 Dec 2020 17:50:47 +0000
Subject: Bug #80519 [NEW]: Invalid opcode.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231100@lists.php.net to get a copy of this message
From: shafer_w2002 at yahoo dot com Operating system: Ubuntu PHP version: 8.0.0 Package: opcache Bug Type: Bug Bug description:Invalid opcode. 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 bug report at https://bugs.php.net/bug.php?id=80519&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80519&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80519&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80519&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80519&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80519&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80519&r=support Expected behavior: https://bugs.php.net/fix.php?id=80519&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80519&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80519&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80519&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80519&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80519&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80519&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80519&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80519&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80519&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80519&r=mysqlcfg

« previous php.bugs (#231100) next »