get functions return
Posted: Sun Apr 08, 2007 5:29 pm
I'm writing template system, template system gets function name,
so I have to get function result in array to replace it.
how to do something like this?
I need to hold function result to use it letter.
Thanks.
so I have to get function result in array to replace it.
how to do something like this?
Code: Select all
function function_result($function)
{
$f = call_user_func($function);
return $f;
}Thanks.