note 9518 deleted from Variable Functions by jmoore
| From: | jmoore@php.net | Date: | Wed, 08 Nov 2000 23:15:09 +0000 |
| Subject: | note 9518 deleted from Variable Functions by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7509@lists.php.net to get a copy of this message | ||
Actually the {$this->func}() construct does
not work. Not on 4.0.1pl1 at least. And the
other approach works only if you are in
local scope.
in the constructor function:
$fconnect = "mysql_connect";
in some other member function:
$this->fconnect(...)
would give a parse error. The correct
way seems to be
$fConnect = $this->fconnect;
$fConnect(...)
But it seems to be a bug...