What is (the ‘Spaceship’ Operator) in PHP 7? [duplicate]
The <=> (“Spaceship”) operator will offer combined comparison in that it will : Return 0 if values on either side are equal Return 1 if the value on the left is greater Return -1 if the value on the right is greater The rules used by the combined comparison operator are the same as the … Read more