note 54292 added to function.strcasecmp

From: Date: Wed, 29 Jun 2005 20:07:36 +0000
Subject: note 54292 added to function.strcasecmp
Groups: php.notes 
Request: Send a blank email to php-notes+get-91153@lists.php.net to get a copy of this message
In response to "no at thanks dot com" and "cleong at organic dot com", I just tested these same statements on my windows 2000 machine running PHP 4.3.1 and Apache 2 and here were the results: strcmp("Z", "AAA") = 1 strcmp("Z", "A") = 1 strcasecmp("Z", "AAA") = 25 strcasecmp("Z", "A") = 25 Three different results running on 3 (I assume) different configurations? Something is not right here... ---- Manual Page -- http://www.php.net/manual/en/function.strcasecmp.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54292 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54292&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54292&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54292&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54292&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54292&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54292&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54292&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91153) next »