PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 42 0 84 Error 42 0 84 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} Welcome to Narnia greeting ERROR GREETING Welcome to Narnia greeting ERROR GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Error $msg 0 Will this work Error $msg 0 Will this work 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"); hello Error helloblablablabla helloblabla hello Error helloblablablabla helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo(atan(0.50)); 0.23568451142521 0.46364760900081 0.11845976421345 1 0.23568451142521 0.46364760900081 0.11845976421345 1 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";}}function b(){echo " I am here to spoil this code";}b();TV("Sherlock"); None of the mentioned I am here to spoil this code Error My favourite TV show isI am here to spoil this code None of the mentioned I am here to spoil this code Error My favourite TV show isI am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP