note 72621 deleted from function.usort by colder
| From: | colder@php.net | Date: | Fri, 26 Jan 2007 13:49:43 +0000 |
| Subject: | note 72621 deleted from function.usort by colder | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-122227@lists.php.net to get a copy of this message | ||
Note Submitter: xentor dot nl at gmail dot com
----
Responding to the 3rd example in the documentation above, which shows:
usort($a, array("TestObj", "cmp_obj"));
I've just succesfully tested this variation (php version 4.3.6):
usort($a, 'TestObj::cmp_obj');
That makes a lot more sense to me.