Fix #81150 Add UPGRADING note for float to int deprecation

[ci skip]
This commit is contained in:
Nikita Popov 2021-06-17 09:52:00 +02:00
parent 5d37cd97e4
commit deb7955bf4

View File

@ -308,6 +308,10 @@ PHP 8.1 UPGRADE NOTES
implement the new methods (if you only support PHP 7.4 and higher) or
implement both (if you support older PHP versions as well).
RFC: https://wiki.php.net/rfc/phase_out_serializable
. Implicit conversion of floats to integers that result in loss of precision,
e.g. a truncation from 1.9 to 1, is deprecated. This affects array keys,
int parameter and return types, and operators working on integers.
RFC: https://wiki.php.net/rfc/implicit-float-int-deprecate
- MySQLi:
. The mysqli_driver::$driver_version property has been deprecated. The driver