Re: Support for keywords where possible

From: Date: Tue, 17 Sep 2013 15:23:12 +0000
Subject: Re: Support for keywords where possible
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi Bob,

Thanks for working on this.

The amount of reserved keywords in PHP is quite large and I've experienced many cases where it
would have been useful to use them. Especially when implementing a DSL, parser, code generator
(quite common use case with template engines, and various other tools), this is often an issue.

The engine supports those "reserved" names without issues, and you can often actually
support them by subverting the parser. As such, supporting them directly makes sense to me.

Regards,

Igor



Thread (40 messages)

« previous php.internals (#69168) next »