PHP Regular Expressions What will be the output of the following PHP code?$username = "jasoN";if (ereg("([^a-z])",$username))echo "Username must be all lowercase!";elseecho "Username is all lowercase!"; Username must be all lowercase! Username is all lowercase! No Output is returned Error Username must be all lowercase! Username is all lowercase! No Output is returned Error ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$url = "contact@examians.com";echo ltrim(strstr($url, "@"),"@"); examians.com contact@ contact@examians.com contact examians.com contact@ contact@examians.com contact ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? struppercase() str_uppercase() uppercase() strtoupper() struppercase() str_uppercase() uppercase() strtoupper() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$str = "Hello! My name is Cameron Fox. Coffee?";$find = array('/is/','/coffee/');$replace = array('/was/','/tea/');echo preg_replace ($find, $replace, $str); Hello! My name is Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 8 7 9 10 8 7 9 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following preg PHP functions is used to take a string, and put it in an array? preg_unchain() preg_destroy() preg_divide() preg_split() preg_unchain() preg_destroy() preg_divide() preg_split() ANSWER DOWNLOAD EXAMIANS APP