Re: [RFC] Remove hex support in numeric strings

From: Date: Mon, 05 Jan 2015 18:23:02 +0000
Subject: Re: [RFC] Remove hex support in numeric strings
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-80195@lists.php.net to get a copy of this message
On Sat, Jan 3, 2015 at 1:55 PM, Nikita Popov <nikita.ppv@gmail.com> wrote: > Hi internals! > > 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. > > HUGE +1 here. We commonly run into this WTF and becomes a cause for all sorts of logic errors :)

« previous php.internals (#80195) next »