note 68239 added to function.natcasesort

From: Date: Wed, 19 Jul 2006 11:00:08 +0000
Subject: note 68239 added to function.natcasesort
Groups: php.notes 
Request: Send a blank email to php-notes+get-114924@lists.php.net to get a copy of this message
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. :) ---- Server IP: 66.163.161.117 Probable Submitter: 212.202.42.178 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.natcasesort.php Edit -- http://master.php.net/note/edit/68239 Del: integrated -- http://master.php.net/note/delete/68239/integrated Del: useless -- http://master.php.net/note/delete/68239/useless Del: bad code -- http://master.php.net/note/delete/68239/bad+code Del: spam -- http://master.php.net/note/delete/68239/spam Del: non-english -- http://master.php.net/note/delete/68239/non-english Del: in docs -- http://master.php.net/note/delete/68239/in+docs Del: other reasons-- http://master.php.net/note/delete/68239 Reject -- http://master.php.net/note/reject/68239 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114924) next »