Re: Call it: allow reserved words in a class or not?
| From: | Karsten Dambekalns | Date: | Fri, 07 Nov 2008 09:42:43 +0000 |
| Subject: | Re: Call it: allow reserved words in a class or not? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41756@lists.php.net to get a copy of this message | ||
Hi.
Steph Fox wrote:
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...Right, the subject indicates a different question that what seems to be discusssed here. The way I understood it was about allowing *methods* named "clone" in a class. That would come in handy for me, porting interfaces from Java to PHP. Currently I have to go back to "klone" to make it legal. Regards, Karsten