PHP Regular Expressions Which one of the following functions is used to search a string? preg_match preg_find preg_search preg_found preg_match preg_find preg_search preg_found ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions. 8 9 10 7 8 9 10 7 ANSWER DOWNLOAD EXAMIANS APP
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! Error Username is all lowercase! No Output is returned Username must be all lowercase! Error Username is all lowercase! No Output is returned 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. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? Hello! My name is Cameron Fox. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? str_uppercase() struppercase() strtoupper() uppercase() str_uppercase() struppercase() strtoupper() uppercase() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_match_all preg_match preg_matchall preg_split preg_match_all preg_match preg_matchall preg_split ANSWER DOWNLOAD EXAMIANS APP