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.
Who needs copy/paste? Right. Writing code from scratch is fun!
More coming soon…keep checking back.