ARRAY_INTERSECT
Computes the intersection of arrays
SYNTAX
array_intersect ( 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 array containing all of the values in array1 whose values exist in all of the parameters.
EXAMPLES
ARRAY1 ARRAY2
Array
(
[a] => 0
[c] => 2
)
...
Array
(
[a] => 0
[c] => 2
)