note 52185 deleted from function.strcasecmp by nlopess
| From: | nlopess@php.net | Date: | Wed, 29 Jun 2005 20:10:12 +0000 |
| Subject: | note 52185 deleted from function.strcasecmp by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91154@lists.php.net to get a copy of this message | ||
Note Submitter: no at thanks dot com
----
The note from "cleong at organic dot com" is flat-out wrong. Either he has hardware
problems, or his PHP build is broken very very badly.
On our FreeBSD 4.x and 5.x systems, and on our Solaris 2.x systems (7, 8, and 9), we find the
following (which is accurate):
1 == strcmp("Z", "AAA")
1 == strcmp("Z", "A")
25 == strcasecmp("Z", "AAA")
25 == strcasecmp("Z", "A")
"Z" will not come before "AAA" -- ever.