History log of /PHP-8.1/Zend/tests/float_to_int/warnings_float_literals.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# b8e380ab 03-Jun-2021 Ayesh Karunaratne

Update deprecation message for incompatible float to int conversion

Updates the deprecation message for implicit incompatible float to int conversion from:

```
Implicit conversi

Update deprecation message for incompatible float to int conversion

Updates the deprecation message for implicit incompatible float to int conversion from:

```
Implicit conversion from non-compatible float %.*H to int in %s on line %d
```

to

```
Implicit conversion from float %.*H to int loses precision in %s on line %d
```

Related: #6661

show more ...


# b6958bb8 31-May-2021 George Peter Banyard

Implement "Deprecate implicit non-integer-compatible float to int conversions" RFC. (#6661)

RFC: https://wiki.php.net/rfc/implicit-float-int-deprecate

Co-authored-by: Nikita Popov <

Implement "Deprecate implicit non-integer-compatible float to int conversions" RFC. (#6661)

RFC: https://wiki.php.net/rfc/implicit-float-int-deprecate

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

show more ...