From f113bb15c989e8307e38960dbd38804752242553 Mon Sep 17 00:00:00 2001 From: Pasindu De Silva Date: Sun, 19 Apr 2015 15:25:56 +0000 Subject: [PATCH] added php version to Spaceship operator git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336596 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/operators.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/language/operators.xml b/language/operators.xml index b6c0695910..25a72db6fb 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1286,7 +1286,8 @@ Expression: 0 = -4 << 62 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 + if $b is greater than $a then ir returns -1. + Will be available as of PHP 7.