mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 07:08:14 +01:00
a894652a3d
The precedence table set the LHS and RHS precedence for the ternary to -1, which is the dummy value used for unary operators. Instead, it should be the same as the operator precedence, as the ternary is non-associative since PHP 8. Fixes #1009.