Revive Number Format Separator RFC
| From: | Theodore Brown | Date: | Thu, 25 Apr 2019 22:07:26 +0000 |
| Subject: | Revive Number Format Separator RFC | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-105450@lists.php.net to get a copy of this message | ||
Is there any chance the Number Format Separator RFC [1] could be revived for PHP 7.4? I looked at
the discussion from a few years ago and it's not clear why many people originally voted against
it.
JavaScript and Python have both gotten this feature recently and it's something I really miss
in PHP when declaring/reading large numbers.
Maybe it would help to simplify how the restrictions are described in the RFC. As I understand it,
the only restriction is that each underscore in a numeric literal must be between two digits.
Perhaps the way the RFC described this syntax made it seem more complex than it is.
Best regards,
Theodore Brown
[1]: https://wiki.php.net/rfc/number_format_separator