PHP :public function xml_to_json($source) { if(is_file($source)){ //传的是文件,还是xml的string的判断$xml_array=simplexml_load_file($source) ...
確定! 回上一頁