What to Expect When You're Expecting: PHP 7, Part 1 (Engine Yard)
The Engine Yard blog has anintroduction to the changes coming in the PHP 7 release."My personal favorite addition to PHP 7 is the addition of theCombined Comparison Operator, <=>,otherwise known as thespaceship operator. [...] It effectively works like strcmp(), orversion_compare(), returning -1 if the left operand is smaller than theright, 0 if they are equal, and 1 if the left is greater than theright. The major difference being that it can be used on any two operands,not just strings, but also integers, floats, arrays, etc."