LMLPHP后院

[8192]stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in技术

maybe yes 发表于 2022-09-26 21:43

stripos 使用报错记录。

记录一个报错

[8192]stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in

解决办法

PHP7.3版本影响

解决办法

1.换PHP版本

2.

$nullOffset = strpos($url, 0x00);//替换前
$nullOffset = strpos($url, chr(0x00));//替换后
2023-01-28 15:36:00 1674891360 0.054245