PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} greeting Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ERROR GREETING 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;} Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ERROR greeting GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value 0 NULL -1 Garbage value 0 NULL -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); No Output o world! Hello world! 111 No Output o world! Hello world! 111 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Towe Pass Towe Pa55 Time Pass Time Pa55 Towe Pass Towe Pa55 Time Pass Time Pa55 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 contact@examians.com @examians.com examians.com contact contact@examians.com @examians.com examians.com ANSWER DOWNLOAD EXAMIANS APP