a few of the footguns are also getting removed in PHP 8 by stricter and more consistent number to string comparisons:
https://wiki.php.net/rfc/string_to_number_comparison https://wiki.php.net/rfc/saner-numeric-strings
In addition more internal functions throw exceptions instead of notice+return false on completly invalid arguments: