-
Notifications
You must be signed in to change notification settings - Fork 361
Open
Description
I have many warnings like
Implicit conversion from float 3.015625 to int loses precision in vendor/neitanod/forceutf8/src/ForceUTF8/Encoding.php on line 206
using PHP8.1.5
One solution is REPLACE:
chr(ord($c1) / 64)
By
chr(intval(ord($c1) / 64))
In php8 chr function recives a integer and dont provide impicit convertion from float to integer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels