Skip to content

Commit e3aeefa

Browse files
[HttpKernel] ignore failuresgenerated by opcache.restrict_api
1 parent 9e4245c commit e3aeefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)