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 改进后
相关文章
相关标签/搜索