
php8中,trim(): Passing null to parameter #1 ($string) of type string is deprecated
PHP 8.0 中引入了一个新的警告,指出将 null 传递给 trim() 函数的第一个参数,而 trim() 函数的第一个参数应该是一个字符串,因此这种用法已被弃用。这个警告是 PHP 8.0 版本中的一个改变,旨在提高代码的质量和可维...
PHP 8.0 中引入了一个新的警告,指出将 null 传递给 trim() 函数的第一个参数,而 trim() 函数的第一个参数应该是一个字符串,因此这种用法已被弃用。这个警告是 PHP 8.0 版本中的一个改变,旨在提高代码的质量和可维...