diff --git a/language/operators.xml b/language/operators.xml index 25a72db6fb..155ef06a93 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1284,10 +1284,11 @@ Expression: 0 = -4 << 62 $a <=> $b Spaceship Operator - It returns 0 if $a and $b are equal, - if $a is greater than $b then it returns 1, - if $b is greater than $a then ir returns -1. - Will be available as of PHP 7. + + 0 if $a and $b are equal, + 1 if $a is greater than $b, + -1 if $b is greater than $a. + Available as of PHP 7.