title: PHP: combining same-length arrays into a multidimensional array where both end up as values (not keys)?
body: <p>I have two same-length arrays like this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; a
      [1] =&gt; b
      [2] =&gt; c
  )
  
  Array
  (
      [0] =&gt; 1
      [1] =&gt; 2
      [2] =&gt; 3
  )
  </code></pre>
  
  <p>And I want to end up with this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; a
              [1] =&gt; 1
          )
      [1] =&gt; Array
          (
              [0] =&gt; b
              [1] =&gt; 2
          )
      [2] =&gt; Array
          (
              [0] =&gt; c
              [1] =&gt; 3
          )
  ) 
  </code></pre>
  
  <p><code>array_combine</code> would make one set of the above values into array <em>keys</em>, which I don't want -- I want both to end up as array values, combining each item of the two arrays into a new array.</p>
  
  <p>Is there a built in function to do this or do I have to roll my own?</p>