array_diff_uassoc

Example

 array array_diff_uassoc ( array $array1 , array $array2 [, array $... ], callback $key_compare_func ) 

Description

Compares array1 against array2 and returns the difference. Unlike array_diff() the array keys are used in the comparison. Unlike array_diff_assoc() an user supplied callback function is used for the indices comparison, not internal function.

Return Values

Returns an array containing all the entries from array1 that are not present in any of the other arrays.