PHP/Functions/is callable
bool is_callable ( mixed var [, bool check_syntax_only [, string &proper_name]] ) returns true if a function can be called
<?
$func = "sqrt";
if (is_callable($func)) {
print $func(49);
}
?>
<?
$func = "sqrt";
if (is_callable($func)) {
print $func(49);
}
?>