PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); “const”,”I am awesome!” const, I am awesome!! I am awesome!! const “const”,”I am awesome!” const, I am awesome!! I am awesome!! const 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?” Hello you! How are you today? GREETING GREETING, Hello you! How are you today? “GREETING”,”Hello you! How are you today?” Hello you! How are you today? GREETING 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(); 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?echo lcfirst("welcome to India"); Welcome to india welcome to India welcome to india Welcome to India Welcome to india welcome to India welcome to india Welcome to India ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); ERROR This WorksThis Too Seems To Work This Too Seems To Work This Works ERROR This WorksThis Too Seems To Work This Too Seems To Work This Works 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