note 88677 rejected from function.sort by thiago
| From: | thiago@php.net | Date: | Tue, 03 Feb 2009 16:17:24 +0000 |
| Subject: | note 88677 rejected from function.sort by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150149@lists.php.net to get a copy of this message | ||
Note Submitter: svanegmond at tinyplanet dot ca
----
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?