Skip to content
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

php8.0+ Error:ErrorException:Implicit conversion from float 38.5 to int loses precision #110

Closed
sunsgneayo opened this issue Dec 28, 2022 · 3 comments

Comments

@sunsgneayo
Copy link

Hello! I found Gregwar/Captcha not fully compatible with PHP 8+ environments. Can I trouble you to adapt it? thank you very much!

@hanisko
Copy link

hanisko commented Feb 7, 2023

#103
#101
#100
#98

@btry
Copy link

btry commented May 2, 2023

Hi

I got the same error...

PHP Deprecated function (8192): Implicit conversion from float 23.5 to int loses precision in .../vendor/gregwar/captcha/src/Gregwar/Captcha/CaptchaBuilder.php at line 365

@kevinpapst
Copy link

This has been fixed in the latest release 1.2.1 and the issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@kevinpapst @btry @sunsgneayo @hanisko and others