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; Error 0 84 42 Error 0 84 42 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Default Function User Defined Function Inbuilt Function Magic Function Default Function User Defined Function Inbuilt Function Magic Function ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}b();a(); Error I am b I am a Error I am bI am a Error I am b I am a Error I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Objects Both A & B None of above Arrays Objects Both A & B None of above Arrays ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); const, I am awesome!! const I am awesome!! “const”,”I am awesome!” const, I am awesome!! const I am awesome!! “const”,”I am awesome!” ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); Hello world! 111 No Output o world! Hello world! 111 No Output o world! ANSWER DOWNLOAD EXAMIANS APP