|
|
![]() |
PHP krsort
Definition and Usage The krsort() function sorts an array by the keys in reverse order. The values keep their original keys. This function returns TRUE on success, or FALSE on failure. Syntax krsort(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:10:15) PHP ksort Definition and Usage The ksort() function sorts an array by the keys. The values keep their origin(...)
[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. Train yourself to let go of everything you fear to lose. (Master Yoda in Star Wars ep.3) |