DEV Community

Discussion on: What are the great function/method/etc. names in popular libs/languages?

Collapse
 
robencom profile image
robencom

Hey, PHP has the coolest operator: the SPACESHIP operator <=>

Thread Thread
 
kip13 profile image
kip

The <=> is for evaluation and ||= is for assigment, the ?? null coalescing operator is more close to it but are not the same.