On 2019-04-09 12:54, Nikita Popov wrote:
Inspired by Bob's recent RFC for concat precedence, I'd like to propose a
deprecation and removal of the left-associative behavior of ternaries.
Instead, explicit parentheses should be used: ...

What about nesting in the middle part: 1 ? 2 ? 3 : 4 : 5
This is unambiguous and should be allowed IMO.

--
Lauri Kenttä

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to