mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-26 17:13:37 +00:00
bf24f136b9
The new compilation implemented in Twig 3 for PHP 7 (to match the comparison semantic of PHP 8) was missing the surrounding braces (which are part of the AsbtractBinary compilation). This caused issues when the full expression would involve other operators (like the not operator), as things would then rely on having the correct precedence in PHP (which would not be the case).