Calling a string as a function

From: Date: Sat, 12 Apr 2003 21:40:41 +0000
Subject: Calling a string as a function
Groups: php.general 
Request: Send a blank email to php-general+get-143625@lists.php.net to get a copy of this message
Hi all, I hope that someone can answer this: I have some stings stored in a database, eg: "my_function($some_var, $some_other_var)" "another_function($a, $b, $c)" etc. - depending on various things I would like to call one of the variables. I have pulled the string out from the database and stored it in a $function variable. How can I call the sting as a function? Regards -- Lasse Laursen <laursen@netgroup.dk> - Systems Developer NetGroup A/S, St. Kongensgade 40H, DK-1264 København K, Denmark Phone: +45 3370 1526 - Fax: +45 3313 0066 - Web: www.netgroup.dk - Don't be fooled by cheap finnish imitations ; BSD is the One True Code

« previous php.general (#143625) next »