I think func_get_arg() may be what u need
function wrapper ($title, $func, $arg1, arg2) {
echo "<table><tr><td>$title</td></tr><tr><td>";
$args="";
for ($i=0;$i<func_num_args;$i++) {
$args.=", \"".func_get_arg($i)."\"";
}
$args=substr($args,1); // discard first comma
eval ("$func ($args)");
echo "</td></tr></table>";
}
there may be a better way to do it (esp. the eval part, but I dunno), and I didn't test so it may be buggy, but it might help...