Hi, Friday, April 30, 2004, 3:51:19 AM, you wrote:
JB> I know I'm probably paranoid, but eval() always bugs me. I think for JB> what you want to do you can use call_user_func_array() JB> $args = func_get_args(); JB> call_user_func_array('function_to_call', $args); JB> http://www.php.net/manual/en/function.call-user-func-array.php The only time eval can be a problem is if you use it on client supplied data otherwise it is no worse than any other function. How does call_user_func_array() cope with pass by reference ? which is the op problem. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php