PHP function to build query string from array - not http build query
<p>Hello I know all about <a href="http://www.php.net/manual/en/function.http-build-query.php" rel="nofollow">http://www.php.net/manual/en/function.http-build-query.php</a> to do this however I have a little problem.</p>

<p>It "handly" turns boolean values into ones and zeros for me. I am building a little PHP wrapper for the Stack Overflow api and parsing an option array and then sending this onto the api breaks things..(doesn't like 1 for true).</p>

<p>What I would like is a simple function to turn a single dimensional array into a query string but turning true/false into string values of true/false.</p>

<p>Anyone know of anything that can do this before I start re-inventing the wheel</p>
