json_decode()值等NULL空用json_last_error()判断的解决办法

$data = json_decode($json_string, true );php 值等null空时,html 用son_last_error()来判断是哪方面出错json $data = json_decode($json_string, true ); if(!$data) { //error handle ,错误处理 $ret = jso
相关文章
相关标签/搜索