Code: Select all
Array ( [0] => fname [1] => lname [2] => time )
Array ( [0] => fname [1] => lname [2] => time )but when I pass both arrays to array_diff() I get this:
Code: Select all
Array ( [1] => lname [2] => time )If both arrays are identical...should this function return an array of ZERO length???
What the hell am I missing...?
Code: Select all
print_r(array_diff($arr1, $arr2));