mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-03-17 12:50:06 +01:00
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.