Re: Dynamic Function with return?
| From: | Michal Migurski | Date: | Sat, 28 Aug 2004 15:06:47 +0000 |
| Subject: | Re: Dynamic Function with return? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195004@lists.php.net to get a copy of this message | ||
> This code works. It calls the function and receives the appropriate
> return value.
> But, is there a better way of doing this? It seems a bit round-a-bout.
Two options, details in the manual: call_user_func() or create_function().
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html