title: Replace array keys and values
body: <p>For example I have this array:</p>
  
  <pre><code>Array (
  [0] =&gt; Array (
   [id] =&gt; 45 [name] =&gt; Name1 [message] =&gt; Ololo [date_create] =&gt; 21:03:56 )
  [1] =&gt; Array (
   [id] =&gt; 46 [name] =&gt; visitor [message] =&gt; Hi! [date_create] =&gt; 21:06:28 )
  )
  </code></pre>
  
  <p>I need converting to:</p>
  
  <pre><code>Array (
   [id] =&gt; Array (
    [0] =&gt; 45, [1] =&gt; 46
   )
   [name] =&gt; Array (
    [0] =&gt; Name1, [1] =&gt; visitor
   )
   [message] =&gt; Array (
    [0] =&gt; Ololo, [1] =&gt; Hi!
   ) 
   [date_create] =&gt; Array (
    [0] =&gt; 21:03:56, [1] =&gt; 21:06:28
   )
  )
  </code></pre>
  
  <p>I like to know a function for converting this,</p>