svn: /phpdoc/en/trunk/appendices/migration70/ new-features.xml

From: Date: Thu, 22 Oct 2015 01:41:30 +0000
Subject: svn: /phpdoc/en/trunk/appendices/migration70/ new-features.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13798@lists.php.net to get a copy of this message
bwoebi Thu, 22 Oct 2015 01:41:30 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=338015 Log: Fix bug #70746 (Please document spaceship as returning -1 or 0 or 1) Bug: https://bugs.php.net/70746 (Verified) Please document spaceship as returning -1 or 0 or 1 Changed paths: U phpdoc/en/trunk/appendices/migration70/new-features.xml Modified: phpdoc/en/trunk/appendices/migration70/new-features.xml =================================================================== --- phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-10-21 20:47:06 UTC (rev 338014) +++ phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-10-22 01:41:30 UTC (rev 338015) @@ -144,10 +144,9 @@ <sect2 xml:id="migration70.new-features.spaceship-op"> <title>Spaceship operator</title> <para> - The spaceship operator is used for comparing two expressions. It returns an - <type>integer</type> less than, equal to, or greater than zero when - <varname>$a</varname> is respectively less than, equal to, or greater than - <varname>$b</varname>. Comparisons are performed according to PHP's usual + The spaceship operator is used for comparing two expressions. It returns -1, 0 + or 1 when <varname>$a</varname> is respectively less than, equal to, or greater + than <varname>$b</varname>. Comparisons are performed according to PHP's usual <link linkend="types.comparisons">type comparison rules</link>. </para> <informalexample>

« previous php.doc.cvs (#13798) next »