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@examians.com contact examians.com @examians.com contact@examians.com contact examians.com @examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); ERROR None of the mentioned No Output Hello World ERROR None of the mentioned No Output Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?define("GREETING","Hello you! How are you today?");echo constant("GREETING"); GREETING Hello you! How are you today? GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” GREETING Hello you! How are you today? GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}function b(){echo " I am here to spoil this code";}b();TV("Sherlock"); Error I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned Error I am here to spoil this code My favourite TV show isI am here to spoil this code None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() Only 2 None of the mentioned All of the mentioned 3 and 4 Only 2 None of the mentioned All of the mentioned 3 and 4 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