|
|
![]() |
PHP arsort
Definition and Usage The arsort() function sorts an array by the values in reverse order. The values keep their original keys. This function returns TRUE on success, or FALSE on failure. Syntax arsort(array,sorttype) array : Required. Specifies the array to sort sorttype : Optional. Specifies how to sort the array values. Possible values: * SORT_REGULAR - Default. Treat values as they are (don't change types) * SORT_NUMERIC - Treat values numerically * SORT_STRING - Treat values as strings * SORT_LOCALE_STRING - Treat values as strings, based on local settings <?php
The output of the code above will be: Array
Related posts & websites : moderator (2008-08-02 12:23:12) PHP asort Definition and Usage The asort() function sorts an array by the values. The values keep their orig(...) moderator (2008-08-02 12:15:57) PHP krsort Definition and Usage The krsort() function sorts an array by the keys in reverse order. The valu(...) moderator (2008-08-02 12:10:15) PHP ksort Definition and Usage The ksort() function sorts an array by the keys. The values keep their or(...)
[Buzz]
[Discussions]
[Seo forums]
[Meet people]
[Directory]
[Last posts] [Games online] [Register] [Help] [About] |
|
ADVANSTARTECH FICGS is also a Free Internet Correspondence Games Server, where you can play chess online for free in rated class tournaments and a unique correspondence chess world championship.
Feel free to link to FICGS to get referer links. Don't be discouraged. It's often the last key in the bunch that opens the lock. (Author unknown) |