1.

What will be the output of the following PHP code?
function fun($msg)
{
echo "$msg";
}
$var = "fun";
$var("This will execute...");
?>

A. $msg
B. This will execute...
C. Error
D. 0
E. None of these
Answer» C. Error


Discussion

No Comment Found

Related MCQs