note 88370 added to function.sort

From: Date: Wed, 21 Jan 2009 13:38:17 +0000
Subject: note 88370 added to function.sort
Groups: php.notes 
Request: Send a blank email to php-notes+get-149595@lists.php.net to get a copy of this message
shailu_agrawal's comment about SORT_STRING and SORT_REGULAR is not correct. Both applied to array('B', 'a' , 'A') give: A, B, a. natsort (and SORT_LOCALE_STRING in the default locale) gives A, B, a while SORT_NUMERIC and natcasesort give A, a, B (but with original keys preserved in in the natural versions). None give a , A , B ---- Server IP: 221.194.139.225 Probable Submitter: 116.76.201.184 ---- Manual Page -- http://www.php.net/manual/en/function.sort.php Edit -- https://master.php.net/note/edit/88370 Del: integrated -- https://master.php.net/note/delete/88370/integrated Del: useless -- https://master.php.net/note/delete/88370/useless Del: bad code -- https://master.php.net/note/delete/88370/bad+code Del: spam -- https://master.php.net/note/delete/88370/spam Del: non-english -- https://master.php.net/note/delete/88370/non-english Del: in docs -- https://master.php.net/note/delete/88370/in+docs Del: other reasons-- https://master.php.net/note/delete/88370 Reject -- https://master.php.net/note/reject/88370 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149595) next »