I have two arrays, both are multi dimensional and i want to compare them. i do the following.
$arraydiff = array_diff ($array1,$array2);
But the size of $arraydiff is 0, but it should not be. The code works fine if its a normal single dimension array, but now fails.
values for $array1
[1],[5],[DC]
[3],[9],[FC]
[2],[10],[MC]
values for $array2
[1],[5],[DC]
[3],[9],[FC]
So i would expect array diff to be
[2],[10],[MC]
but its not.
Help would be much appreciated