I am just amazed that why below code does not work
function test(){
echo "this is test";
}
function getName($f)
{
return $f;
}
getName("test")();
It works when I put function name in variable like this
$f = getName("test");
$f();
What could be the reason?