php json_encode 返回 this request has no response data available

通过 json_last_error() 或 json_last_error_msg(); 获取错误信息

解决方法
$response= unserialize(str_replace(array('NAN;','INF;'),'0;',serialize($response)));

通过 json_last_error() 或 json_last_error_msg(); 获取错误信息

解决方法
$response= unserialize(str_replace(array('NAN;','INF;'),'0;',serialize($response)));