Doc #69480 [Opn->Csd]: Comparison Operators lists Spaceship, which is not implemented

From: Date: Sun, 19 Apr 2015 15:29:45 +0000
Subject: Doc #69480 [Opn->Csd]: Comparison Operators lists Spaceship, which is not implemented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12201@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69480&edit=1 ID: 69480 Updated by: pasindu@php.net Reported by: rex dot schrader at gmail dot com Summary: Comparison Operators lists Spaceship, which is not implemented -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: pasindu Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. PHP version was added to the spaceship operator. Previous Comments: ------------------------------------------------------------------------ [2015-04-18 19:17:25] rex dot schrader at gmail dot com Description: ------------ --- From manual page: http://www.php.net/language.operators.comparison --- This page lists the Spaceship Operator "<=>" as a valid operator, but according to this RFC: https://wiki.php.net/rfc/combined-comparison-operator, the implementation is not scheduled until PHP 7. It is confusing to list it as a valid operator when the current released PHP does not support it. Test script: --------------- N/A Expected result: ---------------- Remove the operator from the list until PHP 7 has been released, or at least make a note that it will not work in PHP 5.6.* or less. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69480&edit=1

« previous php.doc.bugs (#12201) next »