PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() All of the mentioned None of the mentioned 3 and 4 Only 2 All of the mentioned None of the mentioned 3 and 4 Only 2 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; Error 42 0 84 Error 42 0 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. False True False True ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to India"); Welcome to India welcome to India welcome to india Welcome to india Welcome to India welcome to India welcome to india Welcome to india ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 1 -0.5 0.5 0 1 -0.5 0.5 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 4 2 3 1 4 2 3 1 ANSWER DOWNLOAD EXAMIANS APP