Y
Hacker News
new
|
ask
|
show
|
jobs
by
chuckadams
27 days ago
Ternary was made non-associative in 8.0, so it requires parentheses. It will become right-associative in 9.0. But there’s not much use case left for nested ternaries in PHP since the `match` operator was added in 8.0.