note 55781 deleted from function.strcasecmp by nlopess
| From: | nlopess@php.net | Date: | Sat, 13 Aug 2005 09:03:20 +0000 |
| Subject: | note 55781 deleted from function.strcasecmp by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93544@lists.php.net to get a copy of this message | ||
Note Submitter:
----
My installations of PHP4 and PHP5 both return the difference in ASCII values between the two
characters where the strings diverge. For example
echo strcmp("rez","ret"); // outputs "1" as expected
but
echo strcasecmp("rez","ret"); // outputs "6"