$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);
时间: 2024-11-13 06:57:33
$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);