I think questions like this are the reason why I don\'t like working with PHP. The manual is good, if you can find what you are looking for. After reading through the Array Func
Just to add to this...
array_diff appears to show elements in the first array which don't appear in the second array. It doesn't show those elements which only appear in one or the other array.
e.g.
$test = "hello";
$array1 = array("a" => "green", "red", "bicycle", "red");
$array2 = array("b" => "green", "yellow", "red", "blue", "yellow", "pink");
$result = array_diff($array1, $array2);
print_r ($result);
?>
returns
Array
(
[1] => bicycle
)