php读取xml节点值
获取的XML如下:
{"status":"failed","result":"未知错误"}
header('Content-type: text/html;charset=utf-8');{"status":"failed","result":"未知错误"}
$s ={"status":"failed","result":"未知错误"}
XML;
$x = @simplexml_load_string($s);
echo $x[0];
已抢23189个
抢已抢117606个
抢已抢139159个
抢已抢6196个
抢已抢35268个
抢已抢7902个
抢