title: merge two associative arrays add titles
body: <p>I have two arrays</p>
  
  <pre><code>$Array_1 = array(
      'ID_1' =&gt; 'Michael', 
      'ID_2' =&gt; 'Jerry', 
      'ID_3' =&gt; 'Tony', 
      'ID_4' =&gt; 'Roger',
  );
  
  $Array_2 = array(
      'ID_1' =&gt; 'Chef', 
      'ID_2' =&gt; 'Mechanic',
      'ID_3' =&gt; 'Cook', 
      'ID_4' =&gt; 'Dealer',
  );
  </code></pre>
  
  <p>I wish to merge them on the ID column and have my final array be in this form</p>
  
  <pre><code>$employees = array(
      array(
          'name' =&gt; 'Jason',
          'occupation' =&gt; 'Chef'
      ),
      array(
          'name' =&gt; 'Mike',
          'occupation' =&gt; 'Mechanic'
      ),
      ...
  );
  </code></pre>
  
  <p>I know I can array combine them like below:</p>
  
  <pre><code>$new_array = array_combine(array_values($Array_1), array_values($Array_2));
  </code></pre>
  
  <p>but how would I add the titles "Name": and "Occupation":</p>