title: How to explode URL parameter list string into paired [key] => [value] Array?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5397726/parse-query-string-into-an-array">Parse query string into an array</a>  </p>
  </blockquote>
  
  
  
  <p>How can I explode a string such as:</p>
  
  <pre><code>a=1&amp;b=2&amp;c=3
  </code></pre>
  
  <p>So that it becomes:</p>
  
  <pre><code>Array {
   [a] =&gt; 1
   [b] =&gt; 2
   [c] =&gt; 3
  }
  </code></pre>
  
  <p>Using the regular <code>explode()</code> function delimited on the <code>&amp;</code> will separate the parameters but not in <code>[key] =&gt; [value]</code> pairs.</p>
  
  <p>Thanks.</p>