array_key_exists

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Checks if the given key or index exists in the array bool array_key_exists ( mixed $key, array $array ) array_key_exists() returns TRUE if the given key is set in the array. key can be any value possible for an array index. Parameters: key Value to check. array An array with keys to check.

array_intersect

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Computes the intersection of arrays array array_intersect ( array $array1, array $array2 [, array $... ] ) array_intersect() returns an array containing all the values of array1 that are present in all the arguments. Note that keys are preserved. Parameters: array1 The array with master values to check. array2

array_intersect_ukey

(PHP 5 >= 5.1.0, PHP 7) Computes the intersection of arrays using a callback function on the keys for comparison array array_intersect_ukey ( array $array1, array $array2 [, array $... ], callable $key_compare_func ) array_intersect_ukey() returns an array containing all the values of array1 which have matching keys that are present in all the arguments. Parameters: array1

array_intersect_uassoc

(PHP 5, PHP 7) Computes the intersection of arrays with additional index check, compares indexes by a callback function array array_intersect_uassoc ( array $array1, array $array2 [, array $... ], callable $key_compare_func ) array_intersect_uassoc() returns an array containing all the values of array1 that are present in all the arguments. Note that the keys are used in the comparison unlike in array_intersect().

array_intersect_key

(PHP 5 >= 5.1.0, PHP 7) Computes the intersection of arrays using keys for comparison array array_intersect_key ( array $array1, array $array2 [, array $... ] ) array_intersect_key() returns an array containing all the entries of array1 which have keys that are present in all the arguments. Parameters: array1 The array with master keys to check.

array_intersect_assoc

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Computes the intersection of arrays with additional index check array array_intersect_assoc ( array $array1, array $array2 [, array $... ] ) array_intersect_assoc() returns an array containing all the values of array1 that are present in all the arguments. Note that the keys are used in the comparison unlike in array_intersect(). Parameters: array1

array_flip

(PHP 4, PHP 5, PHP 7) Exchanges all keys with their associated values in an array array array_flip ( array $array ) array_flip() returns an array in flip order, i.e. keys from array become values and values from array become keys. Note that the values of array need to be valid keys, i.e. they need to be either integer or string. A warning will be emitted if a value has the wrong type, and the key/value pair in question wil

array_filter

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Filters elements of an array using a callback function array array_filter ( array $array [, callable $callback [, int $flag = 0 ]] ) Iterates over each value in the array passing them to the callback function. If the callback function returns true, the current value from array is returned into the result array. Array keys are preserved. Parameters: a

array_fill

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Fill an array with values array array_fill ( int $start_index, int $num, mixed $value ) Fills an array with num entries of the value of the value parameter, keys starting at the start_index parameter. Parameters: start_index The first index of the returned array. If start_index is negative, the first index of the returned array will be

array_fill_keys

(PHP 5 >= 5.2.0, PHP 7) Fill an array with values, specifying keys array array_fill_keys ( array $keys, mixed $value ) Fills an array with the value of the value parameter, using the values of the keys array as keys. Parameters: keys Array of values that will be used as keys. Illegal values for key will be converted to string. value