note 7311 modified in function.strcmp by felipe
| From: | felipe@php.net | Date: | Mon, 26 May 2008 19:49:21 +0000 |
| Subject: | note 7311 modified in function.strcmp by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139814@lists.php.net to get a copy of this message | ||
Here is a quick note to explain what is meant by > and <. I wrote a script to compare
results. If a string is closer to 'A' in the alphabet, it is < the other string.
Here is the output hope this save saves people lots of time:
acc = acc | ac < acc
accc > acc | acd > acc
acb < acc | acb < accc
acb < accd | bcc > acc
bcc > acc | bcca > acc
bcc > acca | 1bcc < acca
bcc < bcc1 | bcc1 > bcc
1bcc < bcc | 1bcc < 1bcd
1bcd > 1bcc | _bcc < bcc
bcc > _bcc | ;bcc < bcc
bcc > ;bcc | bcc < bcc;
bcc; = bcc;
--was--
Here is a quick note to explain what is meant by > and <. I wrote a script to compare
results. If a string is closer to 'A' in the alphabet, it is < the other string.
Here is the output hope this save saves people lots of time: <BR>
acc = acc | ac < acc <BR>
accc > acc | acd > acc <BR>
acb < acc | acb < accc <BR>
acb < accd | bcc > acc <BR>
bcc > acc | bcca > acc <BR>
bcc > acca | 1bcc < acca <BR>
bcc < bcc1 | bcc1 > bcc <BR>
1bcc < bcc | 1bcc < 1bcd <BR>
1bcd > 1bcc | _bcc < bcc <BR>
bcc > _bcc | ;bcc < bcc <BR>
bcc > ;bcc | bcc < bcc; <BR>
bcc; = bcc;
http://php.net/manual/en/function.strcmp.php