title: How to group array elements which has same index in php
body: <p>I Have following array and</p>
  
  <pre><code>Array ( 
      [0] =&gt; Array ( [70] =&gt; Array ( [0] =&gt; d ) ) 
      [1] =&gt; Array ( [71] =&gt; Array ( [0] =&gt; a ) ) 
      [2] =&gt; Array ( [71] =&gt; Array ( [0] =&gt; c ) ) 
      [3] =&gt; Array ( [71] =&gt; Array ( [0] =&gt; d ) ) 
      [4] =&gt; Array ( [72] =&gt; Array ( [0] =&gt; b ) ) 
      [5] =&gt; Array ( [73] =&gt; Array ( [0] =&gt; a ) ) 
      [6] =&gt; Array ( [73] =&gt; Array ( [0] =&gt; c ) ) 
      [7] =&gt; Array ( [74] =&gt; Array ( [0] =&gt; a ) ) 
      [8] =&gt; Array ( [75] =&gt; Array ( [0] =&gt; a ) ) 
  )
  </code></pre>
  
  <p>I want to make the above array like as following one</p>
  
  <pre><code>Array (
      [70] =&gt; Array ( [0] =&gt; c ) 
      [71] =&gt; Array ( [1] =&gt; b [2] =&gt; c ) 
      [72] =&gt; Array ( [2] =&gt; c ) 
      [73] =&gt; Array ( [0] =&gt; a [2] =&gt; c ) 
      [74] =&gt; Array ( [4] =&gt; c ) 
      [75] =&gt; Array ( [5] =&gt; c ) 
      )
  </code></pre>
  
  <p>Please help me how to make this in php?</p>