## urr转数组
```
// url转为数组
function urlTurnArray($surl){
$urlA = explode('?',$surl);
if(isset($urlA[1])){
$urlA[1] = explode('&',$urlA[1]);
foreach ($urlA[1] as $k=>$v){
$urlA[1][$k] = explode('=',$v);
}
}else{
$urlA[1] = [];
}
if(!empty($urlA[1])) $urlA[1] = array_column($urlA[1],1,0);
return $urlA;
}
```