Re: #30291 [Opn]: final should be added to List of Reserved Words
| From: | Jakub Vrana | Date: | Fri, 01 Oct 2004 08:08:41 +0000 |
| Subject: | Re: #30291 [Opn]: final should be added to List of Reserved Words | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364375@lists.php.net to get a copy of this message | ||
>> Opposite, cfunction and old_function are probably not reserved anymore.
Derick Rethans wrote:
> They are, they're still part of the language.
"You cannot use any of the following words as constants, class names,
function or method names."
$ php -r 'function old_function() { }'
OK in PHP 5.
But not in PHP 4 as I see now. I will return them to the list.
Jakub Vrana