PHP Functions 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!";} ERROR Have a good day! None of the mentioned Have a good night! ERROR Have a good day! None of the mentioned Have a good night! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; Error 0 42 84 Error 0 42 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date_create() getdate() date() date_sunrise() date_create() getdate() date() date_sunrise() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I love all Country i love all Country I love all country I Love All Country I love all Country i love all Country I love all country I Love All Country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); this worksthis too works error this works this too works this works this worksthis too works error this works this too works this works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions 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";}}b(); None of the mentioned My favourite TV show isI am here to spoil this code I am here to spoil this code Error None of the mentioned My favourite TV show isI am here to spoil this code I am here to spoil this code Error ANSWER DOWNLOAD EXAMIANS APP