note 68239 deleted from function.natcasesort by nlopess
| From: | nlopess@php.net | Date: | Wed, 19 Jul 2006 11:32:20 +0000 |
| Subject: | note 68239 deleted from function.natcasesort by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-114927@lists.php.net to get a copy of this message | ||
Note Submitter: </Life>
----
It's not a bug.
"_" is between the uppercase and the lowercase letters, so obviously natcaseesort uses an
uppercased version to compare the strings... and while "_" is smaller than "b",
it's larger than "B", so during case sensitive sort it's "B" <
"_" < "B" and during case insensitive sort it's "b" =
"B" < "_"...
See? No bug. :)