ARRAY_INTERSECT_ASSOC
Computes the intersection of arrays with additional index check
SYNTAX
array_intersect_assoc ( array $array1 , array $array2 [, array $... ] ) : array
PARAMETERS
array1
The array with master values to check.
array2
An array to compare values against.
...
A variable list of arrays to compare.
RETURN
Returns an associative array containing all the values in array1 that are present in all of the arguments.
EXAMPLES
ARRAY1 ARRAY2
Array
(
[a] => 0
)
...
Array
(
[a] => 0
)