title: PHP array values to associative array keys?
body: <p>Is there a quick/easy PHP function to take the VALUES of an array and create an new associative array from the value mappings? or is this a classic iterate, parse, and add?</p>
  <p>Example, source array in <code>var_dump()</code> form:</p>
  <pre><code>array(3) { 
      [0]=&gt; string(36) &quot;md5=397f7a7501dfe5f18c1057885d698d5d&quot; 
      [1]=&gt; string(7) &quot;foo=bar&quot; 
      [2]=&gt; string(7) &quot;t=18351&quot; 
  }
  </code></pre>
  <p>Should be converted to an associative array:</p>
  <pre><code>array(3) {
      [&quot;md5&quot;]=&gt; string(32) &quot;397f7a7501dfe5f18c1057885d698d5d&quot;
      [&quot;foo&quot;]=&gt; string(3) &quot;bar&quot; 
      [&quot;t&quot;]=&gt; string(5) &quot;18351&quot;
  }
  </code></pre>