title: What's the most straightforward way in PHP to create an associative array from two parallel indexed arrays?
body: <p>Given the following two indexed arrays:</p>
  
  <pre><code>$a = array('a', 'b', 'c');
  $b = array('red', 'blue', 'green');
  </code></pre>
  
  <p>What is the most straighforward/efficient way to produce the following associative array?:</p>
  
  <pre><code>$result_i_want = array('a' =&gt; 'red', 'b' =&gt; 'blue', 'c' =&gt; 'green');
  </code></pre>
  
  <p>Thanks.</p>