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));//替换后
2024-12-22 14:56:13 1734850573 0.005456