title: Merge a simple array and nested array according to same keys
body: <p>I have array 1 like this</p>
  
  <pre><code>Array
  (
      [0] =&gt; 1
      [1] =&gt; 2
  )
  </code></pre>
  
  <p>Second array would be</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [FullName] =&gt; Bhupat Chippa
          )
  
      [1] =&gt; Array
          (
              [FullName] =&gt; Dvs Patel
          )
  )
  </code></pre>
  
  <p>I want to merge it the way values would be added to second array with same keys. Desired Output will look like this or some way around so that I can use the Array 1's value with Second Array Only:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [FullName] =&gt; Bhupat Chippa
              [0] =&gt; 1
          )
  
      [1] =&gt; Array
          (
              [FullName] =&gt; Dvs Patel
              [1] =&gt; 2
          )
  
  )
  </code></pre>