Re: is_numeric_string an hexadecimal numbers ("123" == "0x7B")

From: Date: Tue, 17 Apr 2012 12:30:50 +0000
Subject: Re: is_numeric_string an hexadecimal numbers ("123" == "0x7B")
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-60079@lists.php.net to get a copy of this message
On 04/17/2012 01:20 PM, Nikita Popov wrote: > I don't think this has much BC impact, so it should be possible to change it. Same here, i never even knew that this worked in a string context until recently. Autocast/comparison rules are already complicated enough as they are documented now, and i failed to find anything in the manual that would actually say that hex in a string context is support to work at all ... I can't really judge the BC implications though, so the best way would be to start throwing E_DEPRECATED warnings for now ... or maybe go the X11 way of "deliberately break obscure feature and see how many complaints we get" ;) -- hartmut

« previous php.internals (#60079) next »