-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
大佬, php8出现数据转换的精度问题了, 能修复一下吗?
Implicit conversion from float 28.083582089552237 to int loses precision
#0 [internal function]: think\initializer\Error->appError(8192, 'Implicit conver...', '...', 359)
#1 \vendor\topthink\think-image\src\Image.php(359): imagecopyresampled(Object(GdImage), Object(GdImage), 0.0, 28.083582089552, 0, 0, 128.0, 71.832835820896, 670, 376)
#2 \app\service\FileUpload.php(91): think\Image->thumb(128, 128, 2)
Metadata
Metadata
Assignees
Labels
No labels