标签:
function detailUri($params) { $returnParams = array(); if (isset($params)) { $arParams = explode("&", $params); foreach ($arParams as $param) { $query = explode("=", $param); if ($query[0] && $query[1]) { $returnParams[$query[0]] = $query[1]; } } } return $returnParams; }
标签:
原文地址:http://www.cnblogs.com/xiaoyueer/p/4568870.html