keywords:
Bookmark and Share



Front Back
Returns an array with all string keys lowercased or uppercased
  • array_change_key_case ( array $input [, int $case] )
Splits the array into several arrays with size values in them -- You get the arrays as members of a multidimensional array indexed with numbers starting from zero.
  • array_chunk ( array $input, int $size [, bool $preserve_keys] )
Creates an array by using one array for keys and another for its values
  • array_combine ( array $keys, array $values )
Counts all the values of an array
  • array_count_values ( array $input )
Computes the difference of arrays with additional index check
  • array_diff_assoc ( array $array1, array $array2 [, array $ ...] )
Computes the difference of arrays using keys for comparison
  • array_diff_key ( array $array1, array $array2 [, array $ ...] )
Computes the difference of arrays with additional index check which is performed by a user supplied callback function
  • array_diff_uassoc ( array $array1, array $array2 [, array $..., callback $key_compare_func] )
Computes the difference of arrays using a callback function on the keys for comparison
  • array_diff_ukey ( array $array1, array $array2 [, array $ ..., callback $key_compare_func] )
Computes the difference of arrays
  • array_diff ( array $array1, array $array2 [, array $ ...] )
Fill an array with values, specifying keys
  • array_fill_keys ( array $keys, mixed $value )
Fill an array with values
  • array_fill ( int $start_index, int $num, mixed $value )
Filters elements of an array using a callback function
  • array_filter ( array $input [, callback $callback] )
Exchanges all keys with their associated values in an array
  • array_flip ( array $trans )
Computes the intersection of arrays with additional index check
  • array_intersect_assoc ( array $array1, array $array2 [, array $ ...] )
Computes the intersection of arrays with additional index check, compares indexes by a callback function
  • array_intersect_uassoc ( array $array1, array $array2 [, array $ ..., callback $key_compare_func] )
Computes the intersection of arrays using a callback function on the keys for comparison
  • array_intersect_ukey ( array $array1, array $array2 [, array $..., callback $key_compare_func] )
Computes the intersection of arrays
  • array_intersect ( array $array1, array $array2 [, array $ ...] )
Checks if the given key or index exists in the array
  • array_key_exists ( mixed $key, array $search )
Return all the keys of an array
  • array_keys ( array $input [, mixed $search_value [, bool $strict]] )
Applies the callback to the elements of the given arrays
  • array_map ( callback $callback, array $arr1 [, array $...] )
Merge two or more arrays recursively
  • array_merge_recursive ( array $array1 [, array $...] )
Merge one or more arrays
  • array_merge ( array $array1 [, array $array2 [, array $...]] )
Sort multiple or multi-dimensional arrays
  • array_multisort ( array $ar1 [, mixed $arg [, mixed $... [, array $...]]] )
Pad array to the specified length with a value
  • array_pad ( array $input, int $pad_size, mixed $pad_value )
Pop the element off the end of array
  • array_pop ( array &$array )
Calculate the product of values in an array
  • array_product ( array $array )
Push one or more elements onto the end of array
  • array_push ( array &$array, mixed $var [, mixed $...] )
Pick one or more random entries out of an array
  • array_rand ( array $input [, int $num_req] )
Iteratively reduce the array to a single value using a callback function
  • array_reduce ( array $input, callback $function [, int $initial] )
Return an array with elements in reverse order
array_reverse ( array $array [, bool $preserve_keys] )
Searches the array for a given value and returns the corresponding key if successful
  • array_search ( mixed $needle, array $haystack [, bool $strict] )
Shift an element off the beginning of array
  • array_shift ( array &$array )
Extract a slice of the array
  • array_slice ( array $array, int $offset [, int $length [, bool $preserve_keys]] )
Remove a portion of the array and replace it with something else
  • array_splice ( array &$input, int $offset [, int $length [, array $replacement]] )
Calculate the sum of values in an array
  • array_sum ( array $array )
Computes the difference of arrays with additional index check, compares data by a callback function
  • array_udiff_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Computes the difference of arrays with additional index check, compares data and indexes by a callback function
  • array_udiff_uassoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func, callback $key_compare_func] )
Computes the difference of arrays by using a callback function for data comparison
  • array_udiff ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Computes the intersection of arrays with additional index check, compares data by a callback function
  • array_uintersect_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Computes the intersection of arrays with additional index check, compares data and indexes by a callback functions
  • array_uintersect_uassoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func, callback $key_compare_func] )
Computes the intersection of arrays, compares data by a callback function
  • array_uintersect ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] )
Removes duplicate values from an array
  • array_unique ( array $array )
Prepend one or more elements to the beginning of an array
  • array_unshift ( array &$array, mixed $var [, mixed $...] )
Return all the values of an array
  • array_values ( array $input )
Apply a user function recursively to every member of an array
  • array_walk_recursive ( array &$input, callback $funcname [, mixed $userdata] )
Apply a user function to every member of an array
  • array_walk ( array &$array, callback $funcname [, mixed $userdata] )
Create an array
  • array ( [mixed $...] )
Sort an array in reverse order and maintain index association
  • arsort ( array &$array [, int $sort_flags] )
Sort an array and maintain index association
  • asort ( array &$array [, int $sort_flags] )
Create array containing variables and their values
  • compact ( mixed $varname [, mixed $...] )
x of y cards Next >|