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; Error 42 0 84 Error 42 0 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ERROR GREETING greeting ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to build a function that accepts any number of arguments? get_argc() func_get_argc() func_get_argv() get_argv() get_argc() func_get_argc() func_get_argv() get_argv() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 3 2 1 4 3 2 1 4 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 My favourite TV show isI am here to spoil this code Error None of the mentioned I am here to spoil this code My favourite TV show isI am here to spoil this code 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;} ERROR Welcome to Narnia GREETING greeting ERROR Welcome to Narnia GREETING greeting ANSWER DOWNLOAD EXAMIANS APP