|
array_intersectComputes the intersection of arrays Description
array array_intersect(array
$array, array ...$arrays)
array_intersect returns an array
containing all the values of Parameters
Return Values
Returns an array containing all of the values in
Changelog
Examples
Example #1 array_intersect example The above example will output:
Array
(
[a] => green
[0] => red
)
Notes
See Also
|