Doc #69480 [NEW]: Comparison Operators lists Spaceship, which is not implemented
| From: | rex dot schrader at gmail dot com | Date: | Sat, 18 Apr 2015 19:17:25 +0000 |
| Subject: | Doc #69480 [NEW]: Comparison Operators lists Spaceship, which is not implemented | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12196@lists.php.net to get a copy of this message | ||
From: rex dot schrader at gmail dot com
Operating system: N/A
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Comparison Operators lists Spaceship, which is not implemented
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 bug report at https://bugs.php.net/bug.php?id=69480&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69480&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69480&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69480&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69480&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69480&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69480&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69480&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69480&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69480&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69480&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69480&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69480&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69480&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69480&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69480&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69480&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69480&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69480&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69480&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69480&r=mysqlcfg