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));//替换后

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM