Re: Digit separators for numeric literals

From: Date: Thu, 19 Feb 2015 19:07:24 +0000
Subject: Re: Digit separators for numeric literals
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-83233@lists.php.net to get a copy of this message
Nikita Nefedov wrote: > 2015-02-19 6:44 GMT+04:00 Rasmus Lerdorf <rasmus@lerdorf.com>: >> >> I think it will be difficult to find a separator character that doesn't >> make a mess of the grammar. > > Why not space? It's certainly possible (I just checked) and it would look > clear I guess: > > my_func(1 999 999); By the same reasoning spaces could be allowed for identifiers as well, e.g. my func(1 999 999); Too confusing and error prone, IMHO. -- Christoph M. Becker

« previous php.internals (#83233) next »