Skip to content

Deprecate left-associative ternary #4017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Apr 9, 2019

Deprecate left-associative ternary and require explicit parentheses instead.

RFC: https://wiki.php.net/rfc/ternary_associativity

@nikic nikic added the RFC label Apr 9, 2019
@nikic
Copy link
Member Author

nikic commented May 7, 2019

Merged as 09ea55c into 7.4.

@nikic nikic closed this May 7, 2019
@guilliamxavier
Copy link
Contributor

Hi, I just noticed that it's still only deprecated (i.e. not a compile-time error yet) in 8.0.0alpha1 (https://3v4l.org/WSgvE).
I guess you have more urgent things, just don't forget it? 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants