Bug #78512 [NEW]: Cannot make preload work

From: Date: Sun, 08 Sep 2019 13:58:54 +0000
Subject: Bug #78512 [NEW]: Cannot make preload work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222628@lists.php.net to get a copy of this message
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)

« previous php.bugs (#222628) next »