is it possible to take row sum on multi dimensional
<p>i have an array like </p>

<pre><code>Array
(
    [A1] =&gt; Array
        (
            [1] =&gt; 1
            [2] =&gt; 0
            [3] =&gt; 0
            [4] =&gt; 0
            [5] =&gt; 0
            [6] =&gt; 0
            [7] =&gt; 0
            [8] =&gt; 0
            [9] =&gt; 0
            [10] =&gt; 0
         )
      [A2] =&gt; Array
        (
            [1] =&gt; 1
            [2] =&gt; 1
            [3] =&gt; 0
            [4] =&gt; 0
            [5] =&gt; 0
            [6] =&gt; 0
            [7] =&gt; 0
            [8] =&gt; 0
            [9] =&gt; 0
            [10] =&gt; 0
        )
       [A3] =&gt; Array
        (
            [1] =&gt; 0
            [2] =&gt; 0
            [3] =&gt; 0
            [4] =&gt; 0
            [5] =&gt; 0
            [6] =&gt; 0
            [7] =&gt; 0
            [8] =&gt; 0
            [9] =&gt; 0
            [10] =&gt; 0
       )
)
</code></pre>

<p>i want to add row wise. 
now i want answer like </p>

<p>[sum] => Array
        (
            [1] => 2
            [2] => 1 
            [3] => 0
            [4] => 0
            [5] => 0
            [6] => 0
            [7] => 0
            [8] => 0
            [9] => 0
            [10] => 0
       )</p>

<p>is there any array functions in php to do this? otherwise how i can do this?</p>
