On 27/01/16 01:54, Levi Morrison wrote: > I personally consider the new changes with fractional and scientific > notation strings and integer operators to be the more important > change. Thanks to everyone who identified and fixed this > inconsistency. > > Does anyone have any good ideas on how to prevent strtol and strtod > from being re-introduced to the repository? I could potentially see > this happening. >
Pardon? There's no need to "ban" any standard functions, just make sure you always use is_numeric_string when dealing with userland. It's perfectly fine to use strtol, when you know what you're doing. Unfortunately, it seems, we don't have a suitable place to put that notice. Kudos to everyone discovering that. -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php