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