PHP – array_diff_assoc() Function
The PHP array_diff_assoc() function compares the keys/values of two or more arrays, and returns an array of entries from array1 not in the other array(s).
The PHP array_diff_assoc() function compares the keys/values of two or more arrays, and returns an array of entries from array1 not in the other array(s).
The PHP array_diff_key() function compares the keys of two or more arrays, and returns an array of entries from array1 not in the other array(s).
The PHP array_diff_uassoc() function compares the keys/values of two or more arrays, and returns an array of entries from array1 not in the other array(s).
The PHP array_diff_uassoc() function compares the keys of two or more arrays, and returns an array of entries from array1 not in the other array(s).
The PHP array_fill_keys() function fills an array with values, specifying keys.
The PHP array_filter() function filters the values of an array using a callback function, passing each value of the input array to the callback function.
The PHP array_flip() function flips all keys with their associated values in an array.
The PHP array_intersect() function compares the values of two or more arrays, and returns an array of entries from array1 that exist in the other array(s).
The PHP array_intersect_assoc() function compares the keys/values of two or more arrays, and returns entries from array1 that exist in the other array(s).
The PHP array_intersect_key() function compares the keys of two or more arrays, and returns entries from array1 that exist in the other array(s).
The PHP array_intersect_uassoc() function compares the keys/values of two or more arrays, and returns entries from array1 that exist in the other array(s).
The PHP array_intersect_ukey() function compares the keys of two or more arrays, and returns entries from array1 that exist in the other array(s).
The PHP array_key_exists() function checks an array for a specified key, and returns “true” if the key exists and “false” if the key does not exist.
The PHP array_map() function sends each value of an array to a user-made function, and returns an array with new values, given by the user-made function.
The PHP array_merge() function merges one or more arrays into one array. If two or more elements have the same key, the last one overrides the others.
The PHP array_merge_recursive() function merges one or more arrays into one array. If two or more elements have the same key, a nested array is created.
The PHP array_multisort() function returns a sorted array from one or more arrays.
The PHP array_pad() function inserts a specified number of elements, with a specified value, to an array.