Bug #78512 [NEW]: Cannot make preload work
From: nicolas dot grekas+php at gmail dot com
Operating system:
PHP version: 7.4.0RC1
Package: opcache
Bug Type: Bug
Bug description:Cannot make preload work
Description:
------------
This is a follow up from https://bugs.php.net/78175
Using
https://github.com/nicolas-grekas/symfony/releases/download/php-bugs/preload-failures-78175.tar.bz2
I run
php -S localhost:8000 -t public/
-dopcache.preload=var/cache/prod/srcApp_KernelProdContainer.preload.php
Then in another console:
php info.php
Today, this fails with
Class'ComposerAutoloaderInit0fc59465a08737274a67ea5841756d9a' not
found.
When I call get_declared_classes(), the class is not listed.
But when I call opcache_get_status(), I see the class listed in
preload_statistics.
--
Edit bug report at https://bugs.php.net/bug.php?id=78512&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78512&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78512&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78512&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78512&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78512&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78512&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78512&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78512&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78512&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78512&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78512&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78512&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78512&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78512&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78512&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78512&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78512&r=mysqlcfg
Thread (13 messages)
- nicolas dot grekas+php at gmail dot com
- dmitry@php.netBug #78512 [Opn->Fbk]: Cannot make preload work
- nicolas dot grekas+php at gmail dot comBug #78512 [Fbk->Opn]: Cannot make preload work
- nikic@php.netBug #78512 [Opn->Ver]: Cannot make preload work
- nikic@php.netBug #78512 [Ver->Fbk]: Cannot make preload work
- nicolas dot grekas+php at gmail dot comBug #78512 [Com]: Cannot make preload work
- nikic@php.netBug #78512 [Fbk->Opn]: Cannot make preload work
- jhdxr@php.netBug #78512 [Com]: Cannot make preload work
- jhdxr@php.netBug #78512 [Com]: Cannot make preload work
- nicolas dot grekas+php at gmail dot comBug #78512 [Com]: Cannot make preload work
- hrvoje dot novosel at gmail dot comBug #78512 [Com]: Cannot make preload work
- dmitry@php.netBug #78512 [Ver->Csd]: Cannot make preload work
- remi@php.netBug #78512 [Opn->Ver]: Cannot make preload work