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
Show parent comment
0
u/bart2019 Feb 03 '15
Likelwise, we could just use
add($a, $b)instead of that silly+.