From e411b65dd0fa64adfffe24b6dccd8062de0a5511 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 18 Dec 2019 15:43:30 +0100 Subject: [PATCH] [HttpKernel] ignore failuresgenerated by opcache.restrict_api --- src/Symfony/Component/HttpKernel/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index 45d8df6e5da62..d464259f303e4 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -552,7 +552,7 @@ public function write($content, array $metadata = null) } if (\function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN)) { - opcache_invalidate($this->getPath(), true); + @opcache_invalidate($this->getPath(), true); } } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy