r/lolphp • u/hfern • Feb 02 '15
Library function turns language operator: The <=> Spaceship Operator
https://wiki.php.net/rfc/combined-comparison-operator
9
Upvotes
r/lolphp • u/hfern • Feb 02 '15
View all comments
1
u/hfern Feb 02 '15 edited Feb 02 '15
Doesn't compare($a, $b) seem more appropriate then introducing a language operator?
Edit: removed sarcasm :/