From: "david" <[EMAIL PROTECTED]>
> i found a solution (hopefully) with: > > if(function_exists($function)){ > eval('$return = $function($input);'); > }else{ > // function does not exists > } > > which works quit nicely for now. not sure if that's a good thing to do. Why not just do this: if(function_exists($function)) { $return = $function($input); } else { //function does not exist; } ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php