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; 84 Error 0 42 84 Error 0 42 ANSWER DOWNLOAD EXAMIANS APP
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; 84 Error 42 0 84 Error 42 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? uniqueid() mdid() md5() id() uniqueid() mdid() md5() id() 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!";} None of the mentioned Have a good day! ERROR Have a good night! None of the mentioned Have a good day! ERROR Have a good night! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Type Hinting was introduced in which version of PHP? PHP 4 PHP 6 PHP 5.3 PHP 5 PHP 4 PHP 6 PHP 5.3 PHP 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Objects Arrays Both A & B None of above Objects Arrays Both A & B None of above ANSWER DOWNLOAD EXAMIANS APP