8000 bug #35023 [HttpKernel] ignore failures generated by opcache.restrict… · symfony/symfony@b0eb6f3 · GitHub
[go: up one dir, main page]

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