I'm trying to compare two arrays to see if they are sorted or not. What is the difference between array_diff_assoc and comparing two arrays with the === operator? Are they the same thing?
For example
$arr_a
$arr_b
array_diff_assoc($arr_a, $arr_b)
Is the same as
$arr_a === $arr_b
?