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.
Keep It Simple, Stupid (KISS) - the best kiss you'll get in code.
More coming soon…keep checking back.