note 79684 deleted from function.strcmp by felipe
| From: | felipe@php.net | Date: | Mon, 24 Dec 2007 01:16:19 +0000 |
| Subject: | note 79684 deleted from function.strcmp by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133913@lists.php.net to get a copy of this message | ||
Note Submitter: rks at rks dot org
----
I liked the idea of strcmp returning the difference in the first non-matching characters, as someone
mentioned. Gives the correct answer and added info if you can use it.
Tried it and got:
In my php version 5.2.5, strcmp("red", "blue") returns 1