go to bug id or search bugs for
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.
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.
opcache always recompiles streamwrapped files.
Add a Patch
Add a Pull Request