Re: [RFC] Permit trailing whitespace in numeric strings
| From: | Claude Pache | Date: | Wed, 27 Mar 2019 15:21:28 +0000 |
| Subject: | Re: [RFC] Permit trailing whitespace in numeric strings | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104968@lists.php.net to get a copy of this message | ||
> Le 27 mars 2019 à 16:14, Benjamin Morel <benjamin.morel@gmail.com> a écrit :
>
>
> Sure, PHP has the huge advantage here to have a dedicated string concatenation operator,
> removing any ambiguity around the + operator. This does not mean that we cannot borrow their
> semantics for string/number comparison!
I was certainly not clear enough. I was thinking of basic handling of numeric values, including
arithmetic operations *and* comparison operations.
—Claude