bcit-ci / CodeIgniter

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
18.27k stars 7.6k forks source link

fix generating captcha in PHP 8.1 #6256

Closed Khuthaily closed 9 months ago

Khuthaily commented 11 months ago

addresses a PHP 8.1 (and above) deprecation issue that results in losing precision because of float instead of int when creating a captcha