A proposal to the PHP internals mailing list suggests that base conversion functions (bindec, octdec, hexdec, base_convert) should throw a ValueError when given characters invalid for the specified number base. Previously these were silently ignored; PHP 7.4 added deprecation notices. The proposal targets PHP 8.6 and is part of the Grouped ValueError Conversions RFC.
1.3K Impressions