Array
Execute and test PHP functions for array handling and manipulation.
array_search
Searches $haystack for $needle. Returns the key for $needle if it is found in the array, FALSE otherwise.
array_splice
Removes the elements designated by $offset and $length from the $input array, and replaces them with the elements of the $replacement array, if supplied.
Note that numeric keys in $input are not preserved.
array_values
array_values() returns all the values from the $input array and indexes numerically the array.
count
Counts all elements in an array, or properties in an object.
in_array
Searches $haystack for $needle.
krsort
Sorts an array by key in reverse order, maintaining key to data correlations. This is useful mainly for associative arrays.
ksort
Sorts an array by key, maintaining key to data correlations. This is useful mainly for associative arrays.
natcasesort
natcasesort() is a case insensitive version of natsort().
This function implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a "natural ordering".
natsort
This function implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a "natural ordering".
range
Create an array containing a range of elements.
shuffle
This function shuffles (randomizes the order of the elements in) an array.
rsort
This function sorts an array in reverse order (highest to lowest).
sort
This function sorts an array. Elements will be arranged from lowest to highest when this function has completed.
xml2Array
The function recursivley converts a xml string into an array.