On 16/07/2020 16:15, G. P. B. wrote:
I do agree that accepting trailing whitespace may be considered suboptimal
but as leading whitespaces don't even emit an E_NOTICE it is impossible to
drop this "feature".

Didn't someone (Nikita?) already back-port a warning to 7.4 about some changes coming in 8.0?

So it's not really impossible... it just takes the will to do it.

We can keep making small tweeks trying to make it better, or we can just do the "proper" thing, reject everything except exclusively properly-formatted numbers, and put the issue to bed permanently.

Mark Randall

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

Reply via email to