#44281 [Opn->Bgs]: String-String Comparison operators ill-described
| From: | vrana@php.net | Date: | Fri, 07 Nov 2008 11:32:14 +0000 |
| Subject: | #44281 [Opn->Bgs]: String-String Comparison operators ill-described | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1427@lists.php.net to get a copy of this message | ||
ID: 44281
Updated by: vrana@php.net
Reported By: a at b dot c dot de
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: any
PHP Version: Irrelevant
New Comment:
String-String is caught by the first line of table.
Previous Comments:
------------------------------------------------------------------------
[2008-02-28 09:59:48] a at b dot c dot de
Description:
------------
The Comparison Operators page summarises the behaviour of the
comparison operators when applied to various types. In particular there
is the table "Comparison with Various Types". According to that table, a
"String" op "String" comparison is evaluated by translating "strings and
resources to numbers, usual math". No mention is made anywhere on that
page of the actual lexicographic comparison that is performed.
One of the consequences seems to have been a recent excruciating batch
of user notes on the String Type page.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44281&edit=1