Re: Call it: allow reserved words in a class or not?

From: Date: Thu, 06 Nov 2008 11:00:59 +0000
Subject: Re: Call it: allow reserved words in a class or not?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-41711@lists.php.net to get a copy of this message
Isn't the ability to do that one of the biggest reasons for having namespaces? To avoid having to fill your class names with junk. The examples are namespaced appropriately, they tell the developer that it's a Helper for Arrays in the MyFramework framework. I shouldn't need to suffix the class name with 'Helper' to reconfirm that, just because the PHP engine doesn't like it.
This thread really should be re-titled to "allow reserved words as a classname or not". Then perhaps the only logical response to the question would be so obvious that there would be no thread... oo-er... - Steph

« previous php.internals (#41711) next »