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 constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} greeting ERROR GREETING Welcome to Narnia greeting ERROR GREETING Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function b() {echo "b is executed";}function a(){b();echo "a is executed";b();}a(); a is executed b is executedb is executedb is executed b is executeda is executedb is executed b is executeda is executed a is executed b is executedb is executedb is executed b is executeda is executedb is executed b is executeda is executed 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';}b();a(); Error I am a Error I am bI am a I am b Error I am a Error I am bI am a I am b 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 What will be the output of the following PHP code?echo ucwords("i love my country"); I love my country I Love My Country I love my Country i love my Country I love my country I Love My Country I love my Country i love my Country ANSWER DOWNLOAD EXAMIANS APP