title: Combining indexes in an array PHP
body: <p>I can't quite seem to grasp how I would go about combining the indexes in this array. Below is an example of the array. Any help, resources, or direction would be appreciated. </p>
  
  <pre><code>  $array_one = array(
      10 =&gt; array(0 =&gt; 2/3-AM),
      10 =&gt; array(0 =&gt; AUT-PR),
      1195 =&gt; array(0 =&gt; 1/2-AM),
      1258 =&gt; array(0 =&gt; GR-1),
      1195 =&gt; array(0 =&gt; 1/7-PM),
      );
  </code></pre>
  
  <p>I'd like for it to look like this:</p>
  
  <pre><code>   $array_one = array(
      10 =&gt; array(0 =&gt; 2/3-AM, AUT-PR),
      1195 =&gt; array(0 =&gt; 1/2-AM, 1/7-PM),
      1258 =&gt; array(0 =&gt; GR-1),
      );
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WgpwK.png" rel="nofollow noreferrer">var_dump</a></p>