Re: references... found it
| From: | Philip Olson | Date: | Tue, 31 Jul 2001 20:28:34 +0000 |
| Subject: | Re: references... found it | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60507@lists.php.net to get a copy of this message | ||
Just for the sake of completing this thread, variable functions can be
read about here :
http://www.php.net/manual/en/functions.variable-functions.php
Regards,
Philip
On Tue, 31 Jul 2001, scott [gts] wrote:
> im sorry, but i was trying to do that the hard
> way. i figured out how to execute a function
> name in a variable.
>
> $x ="test";
>
> print "Hello: $x\n\n";
>
> $x();
>
> function test() {
> print "yee haw";
> }
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>