Forum Moderators: coopster
I have two arrays:
('a'=>1,'b'=>3,'c'=>2,'d'=>6)
('a'=>2,'b'=>0,'c'=>4)
This would subtract the two values with the same key and return an absolute value of the difference, eg:
('a'=>1,'b'=>3,'c'=>2,'d'=>6)
This function could potentially be used in billions of iterations, so it needs to be as efficient as possible.
FALSE.
return array_filter($c);