Re: [PHP4BETA] Fun. call via string
[email protected] (Alfred Perlstein)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
* Dariusz Malinowski <[email protected]> [000522 02:13] wrote: > hi there > is it possible to call function by passing its name (ie. > CallUserFunction ("myFun", param1, param2)) ? I'm pretty sure it's as simple as: $myfunc = "myFun"; $myfunc(param1, param2); -Alfred