php最简单把xml转换成数组的方法
$xml= $this->getToken($url);
$rs =simplexml_load_string (urldecode( $xml) ) ;
$rs = json_decode( json_encode($rs) , true);
$xml= $this->getToken($url);
$rs =simplexml_load_string (urldecode( $xml) ) ;
$rs = json_decode( json_encode($rs) , true);