title: Convert flat indexed array to 2d associative array then merge with another 2d array
body: <p>I have two arrays :</p>
  
  <pre><code>Array 1
  (
      [0] =&gt; 976504282322
      [1] =&gt; 976530000022
  )
  </code></pre>
  
  <p>=====</p>
  
  <pre><code>Array 2
  (
      [0]  =&gt; Array
          (
              [Mobile]  =&gt; 978504282398
              [Name]  =&gt; Mike 
          )
      [1] =&gt; Array
          (
              [Mobile]  =&gt; 976504282300
              [Name]  =&gt; Jhon
          )
  ) 
  </code></pre>
  
  <p>====</p>
  
  <p>I want to merge them and the final result should be :</p>
  
  <p>===</p>
  
  <pre><code>Array3
  (
      [0] =&gt; Array
          (
              [Mobile]  =&gt; 978504282398
              [Name]  =&gt; Mike 
          )
  
      [1] =&gt; Array
          (
              [Mobile]  =&gt; 976504282300
              [Name]  =&gt; Jhon
          )
  
      [2] =&gt; Array
          (
              [Mobile]  =&gt; 976504282322
  
          )
  
     [3] =&gt; Array
          (
              [Mobile]  =&gt; 976504282322
  
          )
  
  
  )
  </code></pre>
  
  <p>Note : performance is very important here because each array have over 200,000 item , so using for loop is not a good idea.</p>
  
  <p>my code :</p>
  
  <pre><code>foreach ($Array1 as $mobile=&gt; $value) {
      $Array2[]['Mobile']=$value;
  }
  </code></pre>