note 52185 added to function.strcasecmp

From: Date: Sat, 23 Apr 2005 14:40:18 +0000
Subject: note 52185 added to function.strcasecmp
Groups: php.notes 
Request: Send a blank email to php-notes+get-88450@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.strcasecmp.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52185 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52185&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52185&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52185&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52185&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52185&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52185&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88450) next »