Re: [RFC] Permit trailing whitespace in numeric strings

From: Date: Wed, 06 Mar 2019 06:39:43 +0000
Subject: Re: [RFC] Permit trailing whitespace in numeric strings
Groups: php.internals 
Request: Send a blank email to internals+get-104594@lists.php.net to get a copy of this message
Hello, On 06.03.19 01:16, Andrea Faulds wrote:
https://wiki.php.net/rfc/trailing_whitespace_numerics I expect this should be an uncontroversial proposal, but maybe I'm jinxing it there. I hope you all like it. :) Thanks to Nikita for reminding me it existed and thus motivating me to pick it up again. Also thanks to Nikita for suggesting a potential follow-up RFC, and also making the “Saner string to number comparisons” RFC, both providing additional impetus for me to finally clean this up and put it to discussion.
Hmm, my first reaction would be the opposite. For all the changes which happened during the years, PHP got stricter; this would make it more lax. I know this is totally not the goal of the RFC, by my feeling is if we would change something (ignoring BC break for a sec) that it would be to actually _remove_ support for leading whitespace 🤷‍♀️ - Markus

« previous php.internals (#104594) next »