最后编辑于2022-04
代码非常简单,但是执行报一堆警告和提示,没有输出返回,有高手能解释下原因吗?
PHP版本 5.3.5 满足 5.3+要求
plantDetect($image);
echo $result;
echo "done.";
?>
图片存在,执行此php显示:
Notice: Use of undefined constant JSON_BIGINT_AS_STRING - assumed 'JSON_BIGINT_AS_STRING' in D:\greensoft\PHPWAMP\wwwroot\tu\lib\AipBase.php on line 306 Warning: json_decode() expects at most 3 parameters, 4 given in D:\greensoft\PHPWAMP\wwwroot\tu\lib\AipBase.php on line 306 Notice: Use of undefined constant JSON_BIGINT_AS_STRING - assumed 'JSON_BIGINT_AS_STRING' in D:\greensoft\PHPWAMP\wwwroot\tu\lib\AipBase.php on line 241 Warning: json_decode() expects at most 3 parameters, 4 given in D:\greensoft\PHPWAMP\wwwroot\tu\lib\AipBase.php on line 241 done.
有高手能帮忙解释原因吗?
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
删除JSON_BIGINT_AS_STRING就可以了
wo 5.3的都不行 5.4可以用