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',
)
)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…