Re: Re: [RFC][VOTE] Number Format Separator
| From: | Andrea Faulds | Date: | Sun, 17 Jan 2016 20:32:11 +0000 |
| Subject: | Re: Re: [RFC][VOTE] Number Format Separator | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-90682@lists.php.net to get a copy of this message | ||
Hi Björn,
Björn Larsson wrote:
Den 2016-01-16 kl. 02:40, skrev Andrea Faulds: One could add that for programmers coming from another language using _ as number separator there is a value in having the same functionality. No need to relearn at all...Yes, this is a fair point.
Came to think on license keys for games. They always have a separator (using -) to increase readability. Which leads me to thinking, could the proposed number separator be used in cryptographic keys and is there a value in that?I think most crytographic keys are greater than 64 bits, so won't be represented in PHP with integers and therefore can't benefit from this. But if they're strings, you could break them up into chunks and concatenate them, I suppose. Thanks! -- Andrea Faulds https://ajf.me/