PHP·解决http_build_query模拟浏览器请求多选参数加下标索引的BUG| 无法模拟浏览器多选参数问题
$form_params=array('id'=>1,'ids'=>[1,2,3],);$form_params=http_build_query($form_params);$form_params=preg_replace('/%5B[0-9]+%5D/simU','%5B%5D',$form_params);参考http_build_query—生成URL-encode之后的请求字符串