Discussion Forum : Php Functions
Question - What will be the output of the following PHP code ?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();
Options:
A .  Error
B .  I am here to spoil this code
C .  my favourite TV show isI am here to spoil this code
D .  None of the mentioned
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *