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 phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers All listed here Option 1 Option 2 Option 4 All listed here Option 1 Option 2 Option 4 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); This Works This Too Seems To Work This WorksThis Too Seems To Work ERROR This Works This Too Seems To Work This WorksThis Too Seems To Work ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Inbuilt Function User Defined Function Default Function Magic Function Inbuilt Function User Defined Function Default Function Magic Function 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 It is always necessary to use parentheses with the print function. True False True False ANSWER DOWNLOAD EXAMIANS APP