Discussion Forum : Php Functions
Question - What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";}
Options:
A .  Have a good night!
B .  ERROR
C .  Have a good day!
D .  None of the mentioned
Answer: Option A

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

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