Re: reserved word alert
| From: | Hannes Magnusson | Date: | Wed, 15 Aug 2007 14:27:41 +0000 |
| Subject: | Re: reserved word alert | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31581@lists.php.net to get a copy of this message | ||
On 8/15/07, Alain Williams <addw@phcomp.co.uk> wrote:
> On Wed, Aug 15, 2007 at 03:37:20PM +0200, Lukas Kahwe Smith wrote:
> > Hi,
> >
> > Someone in the Doctrine channel just brought up the issue of having to
> > look forward to ensure mid term compatibility when choosing names for
> > identifiers. I guess with namespaces and other things will add new
> > reserved words. I think we should have a prominent place on php.net with
> > early warning for reserved words that will be in future php releases.
>
> No future reserved word will contain a capital letter (unless it is entirely caps - constant).
Where did you get that idea?
> So: nice simple rule - include a capital letter in all your variable/function/...
functions, classnames and methods.... are case-insensitive. Only
variables are case-sensitive.
-Hannes