Re: variable method names
| From: | Chuck Hagenbuch | Date: | Wed, 14 Feb 2001 03:44:24 +0000 |
| Subject: | Re: variable method names | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1336@lists.php.net to get a copy of this message | ||
Quoting Kendrick Vargas <ken@hudat.com>:
> I've needed something like this since 4.0RC1 has been out, and there
> hasn't been anything stable in the way of an implementation that can do
> what I need to do. eval() used to work (kinda), but it no longer returns
> the return value from the called function, so it's also useless. At the
> time 4.0RC1 came about, there was no call_user_method().
Maybe I missed something, but what's wrong with $this->$method()?
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me