PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); @examians.com examians.com contact@examians.com contact @examians.com examians.com contact@examians.com contact 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 5 None of the mentioned 4 2 5 None of the mentioned 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); TIME TO LIVE KING SIZE Uppercase Time to live king size Time To Live King Size TIME TO LIVE KING SIZE Uppercase Time to live king size Time To Live King Size ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Will this work Error 0 $msg Will this work Error 0 $msg 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";}}a("Sherlock");b(); None of the mentioned Error I am here to spoil this code my favourite TV show is SherlockI am here ro spoil this code None of the mentioned Error I am here to spoil this code my favourite TV show is SherlockI am here ro spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function one() {echo " this works";function two() {echo "this too works";}}one();two(); this works error this worksthis too works this works this too works this works error this worksthis too works this works this too works ANSWER DOWNLOAD EXAMIANS APP