Re: Call function and get return...
| From: | Martin Thoma | Date: | Wed, 16 Aug 2000 08:54:23 +0000 |
| Subject: | Re: Call function and get return... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11953@lists.php.net to get a copy of this message | ||
> another one ;-)
>
> function doIt($func)
> {
> $MyCommand = "\$returnvalue=".$func;
> $returnvalue=0;
> eval($MyCommand);
> return $returnvalue;
> }
>
.. strange enough, but this one really works ;-))
Thanx Juri (und schöne Grüße aus Darmstadt ;-))
Regards
Martin