Re: Support for keywords where possible

From: Date: Thu, 12 Sep 2013 07:09:05 +0000
Subject: Re: Support for keywords where possible
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Bob Weinand wrote:
> I tried to widen the naming possibilities by allowing to use keywords as identifiers (for
> function names, class names, label (goto) names, ...) where possible. It doesn't break any BC.

Is the token still T_LIST/T_DEFAULT given that example above, or would
those be T_STRINGs now? I can think of a bunch of userland stuff
(basically every documentation generator) that will break if the
class/function name is not a T_STRING.

That said, +1 for the feature, great idea.

-- 
Ryan McCue
<http://ryanmccue.info/>


Thread (40 messages)

« previous php.internals (#69081) next »