What will be the output of the following PHP code ?
<?php
function TV($string)
{
echo "my favourite TV show is ".$string;
function b()
{
echo " I am here to spoil this code";
}
}
function b()
{
echo " I am here to spoil this code";
}
b();
?>
- I am here to spoil this code
- Error
- my favourite TV show isI am here to spoil this code
- None of the mentioned
(a).I am here to spoil this code
need an explanation for this answer? contact us directly to get an explanation for this answer