Re: reserved word alert

From: Date: Wed, 15 Aug 2007 14:45:42 +0000
Subject: Re: reserved word alert
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-31582@lists.php.net to get a copy of this message
>> 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). > So: nice simple rule - include a capital letter in all your > variable/function/... names. And make sure that it is not Latin capital letter i. PHP bug 18556 Some parts of interpreter are still locale aware in case insensitive comparison. Test by mike dot ditum still works in php5.2-200708151230 and 6.0-200708151230. -- Tomas

« previous php.internals (#31582) next »