PHP中url参数转换Hash 数组及逆生成

2011-09-14
parse_str(string,array)
将xxx=1&xxx2=3
转换成数组
array{
xxx=>1
xxx2=>4
}

http_build_query()
则以上数组拼回