Re: [PHP-PEAR] variable method names

[email protected] (Chuck Hagenbuch)
Newsgroups php.pear
Message-ID <[email protected]>
Quoting Kendrick Vargas <[email protected]>:

> 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, <[email protected]>
"My intuitive grasp of math often leads me astray." -Me
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.