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!";} None of the mentioned Have a good night! ERROR Have a good day! None of the mentioned Have a good night! ERROR Have a good day! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date() date_sunrise() date_create() getdate() date() date_sunrise() date_create() getdate() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. True False True False ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 1 0.5 0 -0.5 1 0.5 0 -0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); I Love My Country i love my Country I love my Country I love my country I Love My Country i love my Country I love my Country I love my country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();a(); I am a Error I am bI am a I am b Error I am a Error I am bI am a I am b Error ANSWER DOWNLOAD EXAMIANS APP