call_user_func and $this

From: Date: Tue, 25 Jul 2000 20:38:45 +0000
Subject: call_user_func and $this
Groups: php.general 
Request: Send a blank email to php-general+get-8131@lists.php.net to get a copy of this message
Is there a way to use call_user_func (or something similar) to call a method in the same class? Like: call_user_func('$this->foo', $param1, $param2); All of my attempts report '$this->foo does not exist in whatever.php'. -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.general (#8131) next »