json_decode 返回NULL 用json_last_error() 报错int(3)

解决方法:
解析前 使用以下代码:

$result =  preg_replace('/[\x00-\x1F\x80-\x9F]/u', '', trim($result));

猜你喜欢

转载自blog.csdn.net/qq_38083665/article/details/80707227