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 contact@examians.com @examians.com contact examians.com contact@examians.com @examians.com contact 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;} ERROR greeting Welcome to Narnia GREETING ERROR greeting Welcome to Narnia GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Inbuilt Function Default Function Magic Function User Defined Function Inbuilt Function Default Function Magic Function User Defined 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(); I am here to spoil this code Error my favourite TV show isI am here to spoil this code None of the mentioned I am here to spoil this code Error my favourite TV show isI am here to spoil this code None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip() gzcompress() zip_compress() compress() zip() gzcompress() zip_compress() compress() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); Not True No Output None of the Mentioned Less Than 0 Not True No Output None of the Mentioned Less Than 0 ANSWER DOWNLOAD EXAMIANS APP