标签:
$xmlstring= file_get_contents("http://api.juanpi.com/open/jiukuaiyou"); $xml = simplexml_load_string($xmlstring); foreach ($xml as $key => $value) { //echo $value; } var_dump($xml);
php xml转数组
原文地址:http://www.cnblogs.com/renjianxi/p/4609991.html