To Documents

PHP Array Handling Functions

 

Function Action
array_chunk Split an array into chunks.
array_combine
 
Create an array by using one array for keys
and one array for values.
array_intersect Returns the intersection of two arrays.
array_key_exists Return true if a key exists in an array.
array_keys Return an array containing the keys.
array_merge Merge two arrays.
array_reverse Return an array with items in reverse order.
array_shift Shift an item off of the beginning of an array.
array_sum Return the sum of an array.
array_unique Return array with duplicates removed.
array_unshift Add one or more items to beginning of an array.
array_values Return an array containing the values.
array Create a new array.
asort Sort an array maintaining index association.
count Return the count of the items in an array.
krsort Sort an array by key in reverse order.
ksort Sort an array by key.
rsort Sort an array by value in reverse order.
shuffle Shuffle an array's items.
sort Sort an array by value.

Use this online reference as a manual for all documented PHP functions:
http://www.php.net/quickref.php