Skip to content

Commit

Permalink
[HttpKernel] ignore failuresgenerated by opcache.restrict_api
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Dec 18, 2019
1 parent d7a0679 commit e411b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Kernel.php
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit e411b65

Please sign in to comment.