3 ms·
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
by beberlei 6y ago
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/string_to_number_comparison
https://wiki.php.net/rfc/saner-numeric-strings https://wiki.php.net/rfc/saner-numeric-strings
In addition more internal functions throw exceptions instead of notice+return false on completly invalid arguments:
https://wiki.php.net/rfc/consistent_type_errors https://wiki.php.net/rfc/consistent_type_errors