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";}}a("Sherlock");b();
Options:
A .  None of the mentioned
B .  Error
C .  I am here to spoil this code
D .  my favourite TV show is SherlockI am here ro spoil this code
Answer: Option D

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

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