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; 42 84 0 Error 42 84 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. True False True False 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); 0.5 -0.5 0 1 0.5 -0.5 0 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); This WorksThis Too Seems To Work ERROR This Too Seems To Work This Works This WorksThis Too Seems To Work ERROR This Too Seems To Work This Works ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); Hello World No Output None of the mentioned ERROR Hello World No Output None of the mentioned ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); Hilla Warld eo Hello World ia Hilla Warld eo Hello World ia ANSWER DOWNLOAD EXAMIANS APP