Bug #78329 [Opn->Fbk]: Autoloading broken with 7.4.0beta1

From: Date: Wed, 24 Jul 2019 10:27:04 +0000
Subject: Bug #78329 [Opn->Fbk]: Autoloading broken with 7.4.0beta1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221920@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78329&edit=1 ID: 78329 Updated by: nikic@php.net Reported by: remi@php.net Summary: Autoloading broken with 7.4.0beta1 -Status: Open +Status: Feedback Type: Bug Package: opcache Operating System: GNU/Linux PHP Version: 7.4.0alpha3 Block user comment: N Private report: N New Comment: Is there a way to reproduce this? Just running the autoload.php file under opcache works fine. Previous Comments: ------------------------------------------------------------------------ [2019-07-24 07:20:56] remi@php.net Description: ------------ From php-fpm error-log [24-Jul-2019 07:08:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Fedora\Autoloader\Autoload::addPsr4() in /usr/share/php/Fedora/Autoloader/autoload.php:18 Stack trace: #0 /usr/share/glpi/vendor/autoload.php(4): require_once() #1 /usr/share/glpi/inc/autoload.function.php(346): require_once('/usr/share/glpi...') #2 /usr/share/glpi/inc/based_config.php(45): include_once('/usr/share/glpi...') #3 /usr/share/glpi/index.php(44): include('/usr/share/glpi...') #4 {main} thrown in /usr/share/php/Fedora/Autoloader/autoload.php on line 18 While this file includes needed stuff. See https://github.com/php-fedora/autoloader Here is the file which doesn't work https://github.com/php-fedora/autoloader/blob/master/src/autoload.php Issue only there when opcache is enabled. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78329&edit=1

« previous php.bugs (#221920) next »