PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? strtoupper() struppercase() str_uppercase() uppercase() strtoupper() struppercase() str_uppercase() uppercase() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions finds the last occurrence of a string, returning its numerical position? strlast() strlastpos() strrpos() strpos() strlast() strlastpos() strrpos() strpos() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_find preg_found preg_match preg_search preg_find preg_found preg_match preg_search 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 was Cameron Fox. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following preg PHP function is used to do a find and replace on a string or an array? preg_replace() preg_findre() preg_find_replace() preg_find() preg_replace() preg_findre() preg_find_replace() preg_find() 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_divide() preg_split() preg_unchain() preg_destroy() preg_divide() preg_split() preg_unchain() preg_destroy() ANSWER DOWNLOAD EXAMIANS APP