title: How can I combine arrays in one multidimensional array in php?
body: <p>I have three arrays Like the following:-</p>
  
  <pre><code>Array
  (
      [0] =&gt; option1
      [1] =&gt; option2
      [2] =&gt; option3
  )
  
  Array
  (
      [0] =&gt; value1
      [1] =&gt; value2
      [2] =&gt; value3
  )
  
  Array
  (
      [0] =&gt; 15
      [1] =&gt; 43
      [2] =&gt; 12
  )
  </code></pre>
  
  <p>I want to Combine these arrays like following:</p>
  
  <pre><code>Array(
  
          [0] =&gt;Array(
                      [0] =&gt; option1
                      [1] =&gt; value1
                      [2] =&gt; 15
          )
  
          [1] =&gt;Array(
                      [0] =&gt; option2
                      [1] =&gt; value2
                      [2] =&gt; 43
          )
  
          [2] =&gt;Array(
                      [0] =&gt; option3
                      [1] =&gt; value3
                      [2] =&gt; 12
          )
  )
  </code></pre>