array_diff_assoc() returns an array containing all the values from array1 that are not present in any of the other arguments.
array_diff_assoc() returns an array containing all the values from array1 that are not present in any of the other arguments. Note that the keys are used in the comparison unlike array_diff().