What is (the ‘Spaceship’ Operator) in PHP 7? [duplicate]

PHP 7, which will come out in November this year will introduce the Spaceship (<=>) operator. What is it and how does it work?

This question already has an answer in our general reference question about PHP operators.

3 Answers
3

Leave a Comment