On Thu, 8 Mar 2007, Ralph Schindler wrote:

> Stanislav Malyshev wrote:
> > > Is it still the position of internals that reserved words cannot be used
> > > as method names or class names?
> > 
> > Why allow it? It would probably require substantial change in the parser,
> > and what for?
> > 
> 
> I guess so that we can have a language that will be able to model real world
> problems... instead of the real world changing the name of the problem to fit
> the language.

You should prefix your classes in the first place, as per:
http://www.php.net/manual/en/userlandnaming.php
especially point 1 of:
http://www.php.net/manual/en/userlandnaming.rules.php

regards,
Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to