[HttpKernel] ignore failuresgenerated by opcache.restrict_api

This commit is contained in:
Nicolas Grekas 2019-12-18 15:43:30 +01:00
parent d7a0679011
commit e411b65dd0

View File

@ -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);
}
}