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; 0 42 Error 84 0 42 Error 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); HelloWorld Hello World World Hell 0 Wo rld HelloWorld Hello World World Hell 0 Wo rld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() None of the mentioned All of the mentioned 3 and 4 Only 2 None of the mentioned All of the mentioned 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); eo Hello World Hilla Warld ia eo Hello World Hilla Warld ia ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); 49 Error 1 Sum 49 Error 1 Sum ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... Always right to left sometimes left to right and sometimes right to left left to right right to left Always right to left sometimes left to right and sometimes right to left left to right right to left ANSWER DOWNLOAD EXAMIANS APP