bug #35023 [HttpKernel] ignore failures generated by opcache.restrict_api (nicolas-grekas)
This PR was merged into the 4.4 branch.
Discussion
----------
[HttpKernel] ignore failures generated by opcache.restrict_api
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #34947
| License | MIT
| Doc PR | -
Commits
-------
e411b65dd0
[HttpKernel] ignore failuresgenerated by opcache.restrict_api
This commit is contained in:
commit
b0eb6f36eb
@ -552,7 +552,7 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl
|
||||
}
|
||||
|
||||
if (\function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN)) {
|
||||
opcache_invalidate($this->getPath(), true);
|
||||
@opcache_invalidate($this->getPath(), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user