note 88677 added to function.sort

From: Date: Tue, 03 Feb 2009 16:16:10 +0000
Subject: note 88677 added to function.sort
Groups: php.notes 
Request: Send a blank email to php-notes+get-150148@lists.php.net to get a copy of this message
Good lord. The function is designed to make it impossible to chain up a series of actions: $sorted = sort(array_merge(this, array_keys(that))) How on earth can a sort FAIL? What is the value of returning a bool instead of the sorted array? ---- Server IP: 66.207.199.35 Probable Submitter: 69.196.152.244 ---- Manual Page -- http://www.php.net/manual/en/function.sort.php Edit -- https://master.php.net/note/edit/88677 Del: integrated -- https://master.php.net/note/delete/88677/integrated Del: useless -- https://master.php.net/note/delete/88677/useless Del: bad code -- https://master.php.net/note/delete/88677/bad+code Del: spam -- https://master.php.net/note/delete/88677/spam Del: non-english -- https://master.php.net/note/delete/88677/non-english Del: in docs -- https://master.php.net/note/delete/88677/in+docs Del: other reasons-- https://master.php.net/note/delete/88677 Reject -- https://master.php.net/note/reject/88677 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#150148) next »