SyntaxFix
Write A Post
Hire A Developer
Questions
You can try this:
$c = array_map(function () { return array_sum(func_get_args()); },$a, $b);
and finally:
print_r($c);