tp5报错strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the cu

错误原因

PHP7.3版本影响

解决办法

1.换PHP版本

2.

$nullOffset = strpos($url, 0x00);//替换前
$nullOffset = strpos($url, chr(0x00));//替换后

 

posted @ 2022-03-02 11:44  zhang_you_wu  阅读(1883)  评论(0)    收藏  举报