PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 7 9 10 8 7 9 10 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? str_uppercase() strtoupper() uppercase() struppercase() str_uppercase() strtoupper() uppercase() struppercase() 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_split() preg_divide() preg_unchain() preg_destroy() preg_split() preg_divide() preg_unchain() preg_destroy() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_matchall preg_match_all preg_split preg_match preg_matchall preg_match_all preg_split preg_match 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 What will be the output of the following PHP code?$text = "this istsome text thatnwe might like to parse.";print_r(split("[nt]",$text)); Array ( [0] => some text that [1] => we might like to parse. ) [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => this is [1] => some text that [2] => we might like to parse. ) this is some text that we might like to parse. Array ( [0] => some text that [1] => we might like to parse. ) [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => this is [1] => some text that [2] => we might like to parse. ) this is some text that we might like to parse. ANSWER DOWNLOAD EXAMIANS APP