title: Refactoring array in PHP
body: <p>I have the next array</p>
  
  <pre><code>Array ( 
     [0] =&gt; Array ( [id] =&gt; 22 [title] =&gt; RankTitle ) 
     [1] =&gt; Array ( [id] =&gt; 32 [title] =&gt; RankTitle2 ) 
  ) 
  </code></pre>
  
  <p>How can I get the next array in php?:</p>
  
  <pre><code>Array ( 
     [22] =&gt; RankTitle 
     [32] =&gt; RankTitle2 
  ) 
  </code></pre>