EDIT : now this is my real problem. here is my source, but my question is a bit different. if array key is same then sum value. my array is:
Array
(
[one] => Array
(
[gozhi] => 2
[uzorong] => 1
[ngangla] => 4
[langthel] => 5
)
[two] => Array
(
[gozhi] => 5
[uzorong] => 0
[ngangla] => 3
[langthel] => 2
)
[three] => Array
(
[gozhi] => 3
[uzorong] => 0
[ngangla] => 1
[langthel] => 3
)
)
in above link, desired result is
Array
(
[gozhi] => 10
[uzorong] => 1
[ngangla] => 8
[langthel] => 10
)
but my desired result is
Array
(
[one] => 12
[two] => 10
[three] => 7
)