note 102836 deleted from function.usort by danbrown
| From: | danbrown@php.net | Date: | Wed, 09 Mar 2011 14:34:17 +0000 |
| Subject: | note 102836 deleted from function.usort by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177690@lists.php.net to get a copy of this message | ||
Note Submitter: johnnybit at gmail dot com
----
cuonghuyto's second point is actually false.
If your function doesn't return anything it is treated as 0, which means that elements are
equal. If your function returns any number other than 0 it is treated as stated - less than zero
means first argument smaller, otherwise oposite.