1.

What will be the output of the following PHP code ?
<?php
function fun($str)
{
echo "my favourite fun time is ".$str;
function m()
{
echo " to spend with friends";
}
}
m();
?>

A. my favourite fun time is
B. Nothing
C. to spend with friends
D. Error
E. my favourite fun time is to spend with friends
Answer» E. my favourite fun time is to spend with friends


Discussion

No Comment Found

Related MCQs