PHP 8.1: `SimpleCacheDecorator#convertIterableToArray` converts float to integer array keys
boesing opened this issue · 1 comments
boesing commented
Bug Report
Q | A |
---|---|
Version(s) | 3.0.0 |
Summary
In PHP 8.1, keys passed to arrays which are not integer trigger errors.
https://wiki.php.net/rfc/implicit-float-int-deprecate
Current behavior
Implicit conversion from float 1.1 to int loses precision
How to reproduce
TBD
Expected behavior
No error.