PHP 4.0 Bug #1853 Updated: function pointers on class members don't work
| From: | Bug Database | Date: | Sat, 07 Aug 1999 16:12:06 +0000 |
| Subject: | PHP 4.0 Bug #1853 Updated: function pointers on class members don't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9619@lists.php.net to get a copy of this message | ||
ID: 1853
Updated by: zeev
Reported By: christophe.massiot@mail.dotcom.fr
Status: Closed
Bug Type: Feature/Change Request
Assigned To:
Comments:
They do, you're just using the wrong notation. The function name
does not include $this - $this is only where the function is
searched.
This is the notation you should use:
$var = "toto";
$this->$var()
Full Bug description available at: http://bugs.php.net/version4/?id=1853