1.

What will be the output of the following PHP code?
<?php
$option2 = "Hey";
function fun($option1)
{
echo $option1;
echo $option2;
}
fun("Welcome");
?>

A. Error
B. Welcome
C. Hey
D. Nothing
E. None of these
Answer» C. Hey


Discussion

No Comment Found

Related MCQs