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