note 32481 deleted from function.sort by alindeman

From: Date: Wed, 28 May 2003 22:02:26 +0000
Subject: note 32481 deleted from function.sort by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49212@lists.php.net to get a copy of this message
Note Submitter: ecz at webinsider dot com dot br ---- All 'sort' family functions doesn't returns an ordered array, actually they change the original array, returnig true or false (or void or whatever). Might be obvious for some of you but cost me almost one hour... So, pay atention to example, they do not use $new = sort($old); but just sort($old); (an odd behavior for php functions in my opinion)

« previous php.notes (#49212) next »