__autoload

(PHP 5, PHP 7) Attempt to load undefined class void __autoload ( string $class ) You can define this function to enable classes autoloading. Parameters: class Name of the class to load Returns: No value is returned. See also: spl_autoload_register() -

usort

(PHP 4, PHP 5, PHP 7) Sort an array by values using a user-defined comparison function bool usort ( array &$array, callable $value_compare_func ) This function will sort an array by its values using a user-supplied comparison function. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function. Note: If two members compare as equal, their relative order in the sorted a

uksort

(PHP 4, PHP 5, PHP 7) Sort an array by keys using a user-defined comparison function bool uksort ( array &$array, callable $key_compare_func ) uksort() will sort the keys of an array using a user-supplied comparison function. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function. Parameters: array The input array.

uasort

(PHP 4, PHP 5, PHP 7) Sort an array with a user-defined comparison function and maintain index association bool uasort ( array &$array, callable $value_compare_func ) This function sorts an array such that array indices maintain their correlation with the array elements they are associated with, using a user-defined comparison function. This is used mainly when sorting associative arrays where the actual element order

sort

(PHP 4, PHP 5, PHP 7) Sort an array bool sort ( array &$array [, int $sort_flags = SORT_REGULAR ] ) This function sorts an array. Elements will be arranged from lowest to highest when this function has completed. Parameters: array The input array. sort_flags The optional second parameter sort_flags may be used to modify the sorting

sizeof

(PHP 4, PHP 5, PHP 7) Alias of count() This function is an alias of: count().

shuffle

(PHP 4, PHP 5, PHP 7) Shuffle an array bool shuffle ( array &$array ) This function shuffles (randomizes the order of the elements in) an array. Parameters: array The array. Returns: Returns TRUE on success or FALSE on failure. Notes: This function assigns new keys to the elements in array. It w

rsort

(PHP 4, PHP 5, PHP 7) Sort an array in reverse order bool rsort ( array &$array [, int $sort_flags = SORT_REGULAR ] ) This function sorts an array in reverse order (highest to lowest). Parameters: array The input array. sort_flags You may modify the behavior of the sort using the optional parameter sort_flags, for details see sort(

reset

(PHP 4, PHP 5, PHP 7) Set the internal pointer of an array to its first element mixed reset ( array &$array ) reset() rewinds array's internal pointer to the first element and returns the value of the first array element. Parameters: array The input array. Returns: Returns the value of the first array element, or FALSE if the array is empty.

range

(PHP 4, PHP 5, PHP 7) Create an array containing a range of elements array range ( mixed $start, mixed $end [, number $step = 1 ] ) Create an array containing a range of elements. Parameters: start First value of the sequence. end The sequence is ended upon reaching the end value. step If a step valu