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

From: Date: Thu, 06 Nov 2008 17:08:07 +0000
Subject: Re: Call it: allow reserved words in a class or not?
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-41730@lists.php.net to get a copy of this message
2008/11/6 Stan Vassilev | FM <sv_forums@fmethod.com>: > > There's one trivial solution: make the keywords and class names > case-sensitive. Then classes "If", "Array", "Interface" will > never class > with the all-lowercase keywords. As much as I'd love to see more case-sensitivity, I'm afraid it would break quite a lot of existing apps, according to Google Code. http://www.google.com/codesearch?q=lang%3Aphp+%3D%5Cs%2AArray -JD

« previous php.internals (#41730) next »