The What
Syntax
array array_intersect ( array $array1 , array $array2 [, array $... ] );
Description
The array_intersect
function returns an array containing all the values of array1 that are present in all the arguments. Note that keys are preserved.
Whoever says that coding is hard, just smack them.
More coming soon…keep checking back.