PHP 8.1 RFC: Deprecate implicit non-integer-compatible float to int conversions

Deprecate implicit non-integer-compatible float to int conversions
PHP 8.1
Implemented
Implicit incompatible float to int conversion is deprecated

RFC Vote: Deprecate implicit non-integer-compatible float to int conversions

Implemented
>= 2/3
Yes: 29No: 0

Deprecate implicit non-integer-compatible float to int conversions

TypeDeprecation
Version PHP 8.1
Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.