-
Notifications
You must be signed in to change notification settings - Fork 425
php8.1
删除文件会报错
#390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
同样获取文件列表也会出现同样的错误
以上都没问题,因为
而在
或者向下兼容写法
|
除此之外,如果是第一次请求,还会有一堆错误,我就不一一列举了
|
感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
错误原因是调用
signQiniuAuthorization
的时候,$body
传参null
,导致strlen($body) > 0
时出现问题麻烦修传
$body
的时候用$body?:''
,或者兼容写法$body ? $body : ''
PHP版本: 8.1.1
The text was updated successfully, but these errors were encountered: