note 47922 added to language.oop

From: Date: Sun, 05 Dec 2004 23:52:12 +0000
Subject: note 47922 added to language.oop
Groups: php.notes 
Request: Send a blank email to php-notes+get-81416@lists.php.net to get a copy of this message
While it is possible to use the names of existing PHP functions for class method names (not that you *should*, however sometimes there's really only one good name for a method even if it's taken..), you cannot use the names of language constructs like list(), echo, print etc, and appearantly also not of eval(). But you probably shouldn't be using PHP functionnames anyway :-) ---- Manual Page -- http://www.php.net/manual/en/language.oop.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47922 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47922&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47922&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47922&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47922&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47922&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47922&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47922&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81416) next »