note 42098 added to reserved

From: Date: Mon, 03 May 2004 15:26:22 +0000
Subject: note 42098 added to reserved
Groups: php.notes 
Request: Send a blank email to php-notes+get-69148@lists.php.net to get a copy of this message
You cannot use reserved keywords as method names either. Although one would think that there shouldn't be any namespace conflict. For instance this WON'T work: class a { function eval($input) { // do something } } It would be nice if that limitation could be lifted -Philippe http://www.11abacus.com/ ---- Manual Page -- http://www.php.net/manual/en/reserved.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42098 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42098&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42098&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69148) next »