I'm basically looking for the opposite of http_build_query().
I have the following as a string:
foo=bar&bar[var]=foo
And I want the following (to pass into http_build_query):
array(
'foo' => 'bar',
'bar' => array(
'var' => 'foo',
)
)