note 12047 added to function.usort.php
| From: | bo at erichsen dot com | Date: | Tue, 20 Mar 2001 10:16:09 +0000 |
| Subject: | note 12047 added to function.usort.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12579@lists.php.net to get a copy of this message | ||
when using usort to refer to a function inside a class i have succesfully used:
usort($myarray,array($this,"cmp"));
http://www.php.net/manual/en/function.usort.php