Note that the keys are used in the comparison unlike in array_intersect().
array_intersect_assoc() 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().