ID: 28261 Updated by: [EMAIL PROTECTED] Reported By: Philippe dot Jausions at 11abacus dot com -Status: Open +Status: Closed Bug Type: Class/Object related -Operating System: Irrelevant +Operating System: * -PHP Version: Irrelevant +PHP Version: * New Comment:
That's simply impossible. Previous Comments: ------------------------------------------------------------------------ [2004-05-03 17:36:00] Philippe dot Jausions at 11abacus dot com Description: ------------ Suggestion: Wouldn't it be possible to lift the reserved keyword restriction for method names? It seems to me that there shouldn't be any namespace conflict with the core PHP language. Reproduce code: --------------- <?php class a { function eval() { // Do something... } } ?> Actual result: -------------- Parse error: parse error, unexpected T_EVAL, expecting T_STRING ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28261&edit=1