PHP Regular Expressions How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions. 8 9 7 10 8 9 7 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? struppercase() strtoupper() uppercase() str_uppercase() struppercase() strtoupper() uppercase() str_uppercase() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions [:alpha:] can also be specified as. [A-z] [A-Za-z0-9] [a-z] [A-za-z] [A-z] [A-Za-z0-9] [a-z] [A-za-z] 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 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? Hello! My name is Cameron Fox. Coffee? ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good."; is good SaladSaladSaladSaladSalad Salad is good SaladSaladSaladSaladSalad is good is good Salad is good SaladSaladSaladSaladSalad Salad is good SaladSaladSaladSaladSalad is good is good Salad ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_found preg_find preg_search preg_match preg_found preg_find preg_search preg_match ANSWER DOWNLOAD EXAMIANS APP