Adding extended array_intersect