PHP Functions What will be the output of the following PHP code?$str = "Hello World";echo wordwrap($str,5,"n"); HelloWorld Hell 0 Wo rld Hello World World HelloWorld Hell 0 Wo rld Hello World World ANSWER DOWNLOAD EXAMIANS APP
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; 42 84 Error 0 42 84 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Both A & B None of above Objects Arrays Both A & B None of above Objects Arrays ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Default Function Inbuilt Function Magic Function User Defined Function Default Function Inbuilt Function Magic Function User Defined Function 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 Less Than 0 No Output Not True None of the Mentioned Less Than 0 No Output Not True 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