Hi internals, I would like to present the RFC to add the "is_representable_as_float()" and "is_representable_as_int()" functions. These functions provide developers with a way to check whether values can be losslessly converted between integer and floating-point representations.
https://wiki.php.net/rfc/is-representable-as-float-int Best, Alexandre Daubois