Re: using a variable to a function call
| From: | Matt Williams | Date: | Fri, 08 Mar 2002 09:22:46 +0000 |
| Subject: | Re: using a variable to a function call | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87746@lists.php.net to get a copy of this message | ||
On Thursday 07 March 2002 19:21, Lars Torben Wilson wrote:
> // The direct way:
> $foo->{$test . '_foo'}();
Thanks Lars
This was what I was looking for, just couldn't remember the syntax