PHP JSON_decode 返回爲 null 問題

解決方案php <?php $html=file_get_contents("http://pad.skyozora.com/data/pets.json"); $html=preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $html); var_dump(json_decode($html, true)); var_dump(json_last_error()
相關文章
相關標籤/搜索