Hi,

On 29.05.19 09:49, Côme Chilliet wrote:
What bugs me with this RFC is that it seems to be mainly intended for grouping 
digits by 3, which from what I understand is cultural.
At least some asian languages have a concept of 
https://en.wikipedia.org/wiki/Myriad and group them by 4, at least from the 
language point of view.
It does seem when writing as numbers they still group by 3, but it seems other 
usages exists:
https://japantoday.com/category/features/lifestyle/10-000-or-1-0000-japanese-schools-are-starting-to-move-commas-on-big-numbers-but-why

My understanding from the RFC is that that the grouping is not relevant, the `_` is stripped regardless.

I would expected this all to work the same

- 1_000_000     => 1000000
- 100_0000      => 1000000
- 1_0_0_0_0_0_0 => 1000000

It even gives similar examples with the hex variant:

0x42_72_6F_77_6E; // with separator

Am I wrong?

- Markus

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

Reply via email to