PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); contact contact@examians.com @examians.com examians.com contact contact@examians.com @examians.com examians.com 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."); 4 None of the mentioned 5 2 4 None of the mentioned 5 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo lcfirst("welcome to my India"); Welcome to my India welcome to my india welcome to my India Welcome to my india Welcome to my India welcome to my india welcome to my India Welcome to my india 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 Which of the following are valid function names?1. function()2. €()3. .function()4. $function() None of the mentioned Only 2 3 and 4 All of the mentioned None of the mentioned Only 2 3 and 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblabla Error helloblablablabla hello helloblabla Error helloblablablabla hello ANSWER DOWNLOAD EXAMIANS APP