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 42 84 0 Error 42 84 0 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"); 0 $msg Will this work Error 0 $msg Will this work Error 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(); 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 Which one of the following PHP functions can be used to build a function that accepts any number of arguments? func_get_argc() func_get_argv() get_argv() get_argc() func_get_argc() func_get_argv() get_argv() get_argc() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); None of the Mentioned No Output Less Than 0 Not True None of the Mentioned No Output Less Than 0 Not True ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Type Hinting was introduced in which version of PHP? PHP 5 PHP 4 PHP 5.3 PHP 6 PHP 5 PHP 4 PHP 5.3 PHP 6 ANSWER DOWNLOAD EXAMIANS APP