It seems to be simple but I could not, I would like to add the following array (there are two arrays inside one, it is split with the array_chunk):
$arr = [
[1, 2, 3, 4, 5],
[6, 7, 8, 9, 0]
];
I would like the result to be this:
Array
(
[0] => 7 // 1+6
[1] => 9 // 2+7
[2] => 11 // 3+8
[3] => 13 // 4+9
[4] => 5 // 5+0
)
Thank you in advance;