Hi François,

François Laupretre wrote:
I would suggest we still accept leading and trailing blanks without
E_NOTICE. That's easy to implement (leading blanks are already accepted
and adding non-blank trailing char detection is trivial) and would
greatly reduce BC breaks.

Leading whitespace is already accepted by zend_is_numeric_string, the problem is trailing whitespace. While that could be changed, it also affects function parameter and return type checks, so I don't know if it's within the scope of this RFC.

Thanks.

--
Andrea Faulds
https://ajf.me/

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

Reply via email to