$xml= $this->getToken($url);
$rs =simplexml_load_string (urldecode( $xml) ) ;
$rs = json_decode( json_encode($rs) , true);
json相关编码问题:http://www.nowamagic.net/php/php_JsonDecode.php
时间: 2024-10-18 13:07:33
$xml= $this->getToken($url);
$rs =simplexml_load_string (urldecode( $xml) ) ;
$rs = json_decode( json_encode($rs) , true);
json相关编码问题:http://www.nowamagic.net/php/php_JsonDecode.php