Re: [PHP4BETA] Fun. call via string

From: Date: Mon, 22 May 2000 09:18:07 +0000
Subject: Re: [PHP4BETA] Fun. call via string
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15357@lists.php.net to get a copy of this message
* Dariusz Malinowski <mdarek@server.efarm.pl> [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

« previous php.version4 (#15357) next »