The What
Syntax
array array_intersect_assoc ( array $array1 , array $array2 [, array $... ] );
Description
The array_intersect_assoc
function returns an array containing all the values of array1 that are present in all the arguments. Note that the keys are used in the comparison unlike in array_intersect().
You get WET when you swim. Stay DRY when you code.
More coming soon…keep checking back.