通过json_last_error_msg查看报错原因. echo json_last_error_msg(); Inf and NaN cannot be JSON encoded. 原因是$arr里面包含了NAN 和INF 这些导致的。
確定! 回上一頁