Re: Revive Number Format Separator RFC

From: Date: Sat, 27 Apr 2019 11:18:45 +0000
Subject: Re: Revive Number Format Separator RFC
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-105466@lists.php.net to get a copy of this message
Hi! > On Fri, Apr 26, 2019 at 4:30 PM Theodore Brown <theodorejb@outlook.com> wrote: > > > On Fri, Apr 26, 2019 at 6:10 AM Rowan Collins <rowan.collins@gmail.com> wrote: > > > > I'm not particularly against this proposal, but I'm not sure how often I'd > > use it. > > How often you use numeric separators depends on what you are doing. > I definitely agree that phone numbers and dates are not good use cases, > and that there are usually better ways to write things like the number > of seconds in a day or number of bytes in a gigabyte. Storing dates in an integer format can be a valid use case if performance is a concern. It is far faster and more compact to store and compare integer-based dates than using objects for everything. Anyway, if anyone would like to revive this RFC, then feel free to! Thanks, Tom

« previous php.internals (#105466) next »