The What
Syntax
array array_intersect_key ( array $array1 , array $array2 [, array $... ] );
Description
The array_intersect_key
function returns an array containing all the entries of array1 which have keys that are present in all the arguments.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
More coming soon…keep checking back.