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 1 0 0.5 -0.5 1 0 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';}a();a(); Error I am bI am a I am a Error I am b Error I am bI am a I am a Error I am b ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_trans() array_transpose() array_flip() array_flips() array_trans() array_transpose() array_flip() array_flips() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Arrays None of above Both A & B Objects Arrays None of above Both A & B Objects ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); ERROR No Output Hello World None of the mentioned ERROR No Output Hello World None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); 2 4 None of the mentioned 5 2 4 None of the mentioned 5 ANSWER DOWNLOAD EXAMIANS APP