json_decode 解析返回值爲空

原代碼:php <?php $html=file_get_contents("http://pad.skyozora.com/data/pets.json"); var_dump(json_decode($html,true)); //return null var_dump(json_last_error()); // return 4 ?> 輸出:html NULL int(4)web 改進後
相關文章
相關標籤/搜索