note 28566 deleted from function.uasort by irchtml
| From: | irchtml@php.net | Date: | Thu, 26 Feb 2004 19:17:41 +0000 |
| Subject: | note 28566 deleted from function.uasort by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65822@lists.php.net to get a copy of this message | ||
Note Submitter: bill at billkrauss dot com
----
The multi_array sort function has an error:
"return $body;" is incorrect.
It should be:
"return $cmp_val;"
Also, if you can make a case-insensitive sort if you use:
(strtolower(\$a['$key'])>strtolower(\$b['$key'])