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(); I am a Error Error I am b I am bI am a I am a Error Error I am b I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "d" returns "f" returns "cd" returns "c" returns "d" returns "f" returns "cd" 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";}}b(); My favourite TV show isI am here to spoil this code Error I am here to spoil this code None of the mentioned My favourite TV show isI am here to spoil this code Error I am here to spoil this code None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); No Output ERROR None of the mentioned Hello World No Output ERROR None of the mentioned Hello World ANSWER DOWNLOAD EXAMIANS APP
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 @examians.com contact@examians.com contact examians.com @examians.com contact@examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I Love All Country I love all Country I love all country i love all Country I Love All Country I love all Country I love all country i love all Country ANSWER DOWNLOAD EXAMIANS APP