note 82428 added to function.array-multisort
| From: | joopm at hotmail dot com | Date: | Thu, 10 Apr 2008 11:50:28 +0000 |
| Subject: | note 82428 added to function.array-multisort | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138100@lists.php.net to get a copy of this message | ||
@ scott at bartoncomputer dot com
You could also reference the array (if you wanted the original array in the object sorted):
array_multisort($position, SORT_DESC, &$clsVar->data);
Regards, Chr.
----
Server IP: 213.249.64.162
Probable Submitter: 86.85.158.81
----
Manual Page -- http://www.php.net/manual/en/function.array-multisort.php
Edit -- https://master.php.net/note/edit/82428
Del: integrated -- https://master.php.net/note/delete/82428/integrated
Del: useless -- https://master.php.net/note/delete/82428/useless
Del: bad code -- https://master.php.net/note/delete/82428/bad+code
Del: spam -- https://master.php.net/note/delete/82428/spam
Del: non-english -- https://master.php.net/note/delete/82428/non-english
Del: in docs -- https://master.php.net/note/delete/82428/in+docs
Del: other reasons-- https://master.php.net/note/delete/82428
Reject -- https://master.php.net/note/reject/82428
Search -- https://master.php.net/manage/user-notes.php