Skip to content

Commit b0eb6f3

Browse files
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 ------- e411b65 [HttpKernel] ignore failuresgenerated by opcache.restrict_api
2 parents cfc7146 + e411b65 commit b0eb6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public function write($content, array $metadata = null)
552552
}
553553

554554
if (\function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN)) {
555-
opcache_invalidate($this->getPath(), true);
555+
@opcache_invalidate($this->getPath(), true);
556556
}
557557
}
558558

0 commit comments

Comments
 (0)
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