title: Combine arrays in PHP
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/797251/transposing-multidimensional-arrays-in-php">Transposing multidimensional arrays in PHP</a>  </p>
  </blockquote>
  
  
  
  <p>I have three arrays:</p>
  
  <pre><code>$a = (a1, a2, a3);
  $b = (b1, b2, b3);
  $c = (c1, c2, c3);
  </code></pre>
  
  <p>I want to combine these arrays to create:</p>
  
  <pre><code>$newa = (a1, b1, c1);
  $newb = (a2, b2, c2);
  $newc = (a3, b3, c3);
  </code></pre>