diff --git a/src/ExtensionSet.php b/src/ExtensionSet.php index 66467b0b498..7bb62fa781f 100644 --- a/src/ExtensionSet.php +++ b/src/ExtensionSet.php @@ -27,6 +27,10 @@ use Twig\NodeVisitor\NodeVisitorInterface; use Twig\TokenParser\TokenParserInterface; +// Help opcache.preload discover always-needed symbols +// @see https://github.com/php/php-src/issues/10131 +class_exists(BinaryOperatorExpressionParser::class); + /** * @author Fabien Potencier *