Re: Support for keywords where possible
| From: | Ryan McCue | 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 internals+get-69081@lists.php.net 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/>