note 27573 added to functions.variable-functions
| From: | andrew dot harrowing at legalease dot co dot uk | Date: | Wed, 11 Dec 2002 16:19:45 +0000 |
| Subject: | note 27573 added to functions.variable-functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40762@lists.php.net to get a copy of this message | ||
In example 13-4, shouldn't this line:
$foo->$varname(); // This calls $foo->Var()
be this:
$foo->$funcname(); // This calls $foo->Var()
--
http://www.php.net/manual/en/functions.variable-functions.php
http://master.php.net/manage/user-notes.php?action=edit+27573
http://master.php.net/manage/user-notes.php?action=delete+27573
http://master.php.net/manage/user-notes.php?action=reject+27573