PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); 49 Error 1 Sum 49 Error 1 Sum ANSWER DOWNLOAD EXAMIANS APP
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!";} Have a good day! Have a good night! None of the mentioned ERROR Have a good day! Have a good night! None of the mentioned ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); welcome to my India welcome to my india Welcome to my India Welcome to my india welcome to my India welcome to my india Welcome to my India Welcome to my india ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); Error helloblablablabla helloblabla hello Error helloblablablabla helloblabla hello ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... None of above Objects Both A & B Arrays None of above Objects Both A & B Arrays ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; 25 error 75 100 25 error 75 100 ANSWER DOWNLOAD EXAMIANS APP