Posted by Hilarion on 08/23/05 19:21
> so array_diff and array_diff_key won't register if none are found?
I'm affraid I do not understand? "array_diff" and "array_diff_key"
do not register anything and they do not search for anything. They
"calculate" and return differences between arrays.
> i was worried even if there weren't any differences $error would
> return true.
$error will not return anything. It contains entries which are
in the array contained in first argument of "array_diff_key"
which do not have any equivalent entry in array contained in
second argument.
Hilarion
[Back to original message]
|