Hi!

> I'd like to propose removing support for hexadecimal strings in the
> is_numeric_string() function, in order to achieve consistency with ordinary
> integer and float casts:
> 
>     https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings
> 
> This change drops a WTF in our conversion semantics and should have low BC
> impact.

While I'm usually all for preserving BC in this case I think removing
the inconsistency is better and the use case is weird enough that it
makes little sense to implicitly support it. Given that we have options
with both filter and hexdec _and_ casts do not support it, I think this
RFC would do the right thing.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to