Bug #75166 [NEW]: Opcache ignores streams' opened_path and stat

From: Date: Thu, 07 Sep 2017 04:16:02 +0000
Subject: Bug #75166 [NEW]: Opcache ignores streams' opened_path and stat
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210981@lists.php.net to get a copy of this message
From: dinumarina at gmail dot com Operating system: PHP version: 5.6.31 Package: opcache Bug Type: Bug Bug description:Opcache ignores streams' opened_path and stat Description: ------------ We use a stream wrapper for includes to perform some actions upon source access / compilation. The stream sets opened_path to a valid source path in the system, and stats accordingly, including inode / mod date. Expected behavior: opcache should honor the wrapper's reported unchanged path and stat and not recompile the file. This is the actual behavior with PHP 5.3 + APC, PHP * + XDebug for instance. Current behavior: opcache always recompiles streamwrapped files. -- Edit bug report at https://bugs.php.net/bug.php?id=75166&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75166&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75166&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75166&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75166&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75166&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75166&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75166&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75166&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75166&r=support Expected behavior: https://bugs.php.net/fix.php?id=75166&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75166&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75166&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75166&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75166&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75166&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75166&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75166&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75166&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75166&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75166&r=mysqlcfg

« previous php.bugs (#210981) next »