This PR was merged into the 3.4 branch.
Discussion
----------
Fixed issue #25985
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | yes/no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #25985
| License | MIT
Oppress Zend OPcache API - ContextErrorException
Commits
-------
acb1cad841
Fixed issue #25985
This commit is contained in:
commit
a48849e58e
@ -141,7 +141,7 @@ class DebugClassLoader
|
||||
if ($this->isFinder && !isset($this->loaded[$class])) {
|
||||
$this->loaded[$class] = true;
|
||||
if ($file = $this->classLoader[0]->findFile($class) ?: false) {
|
||||
$wasCached = \function_exists('opcache_is_script_cached') && opcache_is_script_cached($file);
|
||||
$wasCached = \function_exists('opcache_is_script_cached') && @opcache_is_script_cached($file);
|
||||
|
||||
require $file;
|
||||
|
||||
|
Reference in New Issue
Block a user