Function Description Syntax
array_intersect_uassoc
Computes the intersection of arrays
with additional index check,
compares indexes by a callback
function
array array_intersect_uassoc ( array
$array1 , array $array2 [, array $ ... ],
callback $key_compare_func )
array_intersect_ukey
Computes the intersection of arrays
using a callback function on the keys
for comparison
array array_intersect_ukey ( array
$array1 , array $array2 [, array $... ],
callback $key_compare_func )
array_intersect Computes the intersection of arrays
array array_intersect ( array $array1 ,
array $array2 [, array $ ... ] )
array_key_exists
Checks if the given key or index
exists in the array
bool array_key_exists ( mixed $key ,
array $search )
array_keys
Return all the keys or a subset of the
keys of an array
array array_keys ( array $input [,
mixed $search_value [, bool $strict =
false ]] )
array_map
Applies the callback to the elements
of the given arrays
array array_map ( callback $callback ,
array $arr1 [, array $... ] )
array_merge_recursive Merge two or more arrays recursively
array array_merge_recursive ( array
$array1 [, array $... ] )
array_merge Merge one or more arrays
array array_merge ( array $array1 [,
array $... ] )
array_multisort
Sort multiple or multi-dimensional
arrays
bool array_multisort ( array &$arr [,
mixed $arg = SORT_ASC [, mixed $arg
= SORT_REGULAR [, mixed $... ]]] )
array_pad
Pad array to the specified length with
a value
array array_pad ( array $input , int
$pad_size , mixed $pad_value )
array_pop Pop the element off the end of array mixed array_pop ( array &$array )
array_product
Calculate the product of values in an
array
number array_product ( array $array )
array_push
Push one or more elements onto the
end of array
int array_push ( array &$array , mixed
$var [, mixed $... ] )
array_rand
Pick one or more random entries out
of an array
mixed array_rand ( array $input [, int
$num_req = 1 ] )
array_reduce
Iteratively reduce the array to a
single value using a callback
function
mixed array_reduce ( array $input ,
callback $function [, mixed $initial =
NULL ] )
array_replace_recursive
Replaces elements from passed
arrays into the first array recursively
array array_replace_recursive ( array
&$array , array &$array1 [, array &$... ]
)