php xml转array的方法12 '; //simplexml_load_string 这个是xml转成对象 $responseObj = simplexml_load_string($responseXml, 'SimpleXMLElement', LIBXML_NOCDATA); //对象转成数组 $responseObj = json_decode( json_encode( $responseObj),true); print_r($responseObj); ?>
查看原文:http://newmiracle.cn/?p=1602
php xml转array的方法
最新推荐文章于 2021-03-09 23:40:25 发布