title: Restructure multidimensional array
body: <p>I'm trying to restructure an array but can't figure out how to rearrange it to output the id as the key, I want to change this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; 16
              [1] =&gt; News
              [2] =&gt; News
              [3] =&gt; News
              [4] =&gt; News content
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; 17
              [1] =&gt; about-us
              [2] =&gt; About us
              [3] =&gt; About us
              [4] =&gt; About us content
  
          )
  
  )
  </code></pre>
  
  <p>To this:</p>
  
  <pre><code>Array
  (
      [16] =&gt; Array
          (
              [0] =&gt; News
              [1] =&gt; News
              [2] =&gt; News
              [3] =&gt; News content
          )
  
      [17] =&gt; Array
          (
              [0] =&gt; about-us
              [1] =&gt; About us
              [2] =&gt; About us
              [3] =&gt; About us content
  
          )
  
  )
  </code></pre>