title: PHP http_build_query special symbols
body: <p>I want to create an url out of an array with the help of http_build_query (PHP). This is the Array:</p>
  
  <pre><code>$a = array("skip" =&gt; 1, "limit" =&gt; 1, "startkey" =&gt; '["naturalProduct","Apple"]')
  </code></pre>
  
  <p>After calling </p>
  
  <pre><code>$s = http_build_query($a);
  </code></pre>
  
  <p>I get the following string $s:</p>
  
  <pre><code>skip=1&amp;limit=1&amp;startkey=%5B%22naturalProduct%22%2C%22Apple%22%5D
  </code></pre>
  
  <p>My problem is, that I would need an url like this:</p>
  
  <pre><code>skip=1&amp;limit=1&amp;startkey=["naturalProduct","Apple"]
  </code></pre>
  
  <p>which means, that I don't want to convert the following symbols: ",[]</p>
  
  <p>I have written a conversion function which I call after the http_build_query:</p>
  
  <pre><code>str_replace(array("%5B", "%22", "%5D", "%2C"), array('[', '"', ']', ','), $uri);
  </code></pre>
  
  <p>My question now: Is there a better way to reach the expected results?</p>