I\'m trying to use array_diff like so. Here are my two array outputs:
List 1 Output
Array ([0] => 0022806 )
List 2 Output
From the docs:
Returns an array containing all the entries from array1 that are not present in any of the other arrays.
If you only want to check whether they are the same, you can use $list1 == $list_2
$list1 == $list_2