rfc:ternary_associativity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:ternary_associativity [2019/04/23 08:36] – vote nikic | rfc:ternary_associativity [2019/04/25 06:56] – add bc break analysis results nikic | ||
---|---|---|---|
Line 93: | Line 93: | ||
Code exploiting left-associativity of the ternary operator will become a hard error in PHP 8. As | Code exploiting left-associativity of the ternary operator will become a hard error in PHP 8. As | ||
left-associative ternaries are almost certainly bugs, the impact of this change should be minimal. | left-associative ternaries are almost certainly bugs, the impact of this change should be minimal. | ||
+ | |||
+ | An analysis of the top 1000 composer packages found 12 instances that will be affected by this RFC. 9 of them are bugs, where a right-associative meaning was intended, but a left-associative one will be used. 3 uses of the form '' | ||
===== Future Scope ===== | ===== Future Scope ===== |
rfc/ternary_associativity.txt · Last modified: 2019/05/13 15:51 by nikic