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";
}
}
a("Sherlock");
b();
?>
- I am here to spoil this code
- Error
- my favourite TV show is SherlockI am here to spoil this code
- None of the mentioned
(c).my favourite TV show is SherlockI am here to spoil this code
need an explanation for this answer? contact us directly to get an explanation for this answer