phparray_sum多次元配列各配列の文字の合計を取得したいと思います。私のコードを見てください
配列(/ ----------------- help --------- /
[0] => Array
(
[0] => Array
(
[a] => 1
[b] => 0
[c] => 0
[d] => 0
)
[1] => Array
(
[a] => 0
[b] => 1
[c] => 0
[d] => 0
)
)
[1] => Array
(
[0] => Array
(
[a] => 1
[b] => 0
[c] => 0
[d] => 0
)
[1] => Array
(
[a] => 0
[b] => 1
[c] => 0
[d] => 0
)
)
)各配列の合計は、このような結果が必要ですヘルプをご覧ください
[0] => Array
(
[a] => 2
[b] => 0
[c] => 0
[d] => 0
)
[1] => Array
(
[a] => 0
[b] => 2
[c] => 0
[d] => 0
)
助けが必要