-
What will be the output of the following PHP code?
<?php
function HelloFuncation()
{
echo "Hello Interview Mania\n";
}
$fun_holder = "HelloFuncation";
$fun_holder();
?>
-
- Hello
- Interview
- Mania
- Hello Interview Mania
- None of these
Correct Option: C
It is possible to assign function names as strings to variables and then treat these variables exactly as you would the function name itself.