PHP Regular Expressions How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions. 9 7 8 10 9 7 8 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_found preg_find preg_match preg_search preg_found preg_find preg_match preg_search ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$foods = array("pasta", "steak", "fish", "potatoes");$food = preg_grep("/^s/", $foods);print_r($food); Array ( [3] => potatoes ) Array ( [1] => steak ) Array ( [0] => potatoes ) Array ( [0] => pasta [1] => steak [2] => fish [3] => potatoes ) Array ( [3] => potatoes ) Array ( [1] => steak ) Array ( [0] => potatoes ) Array ( [0] => pasta [1] => steak [2] => fish [3] => potatoes ) 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_destroy() preg_unchain() preg_split() preg_divide() preg_destroy() preg_unchain() preg_split() preg_divide() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good."; SaladSaladSaladSaladSalad is good is good SaladSaladSaladSaladSalad Salad is good is good Salad SaladSaladSaladSaladSalad is good is good SaladSaladSaladSaladSalad Salad is good is good Salad 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_findre() preg_find_replace() preg_replace() preg_find() preg_findre() preg_find_replace() preg_replace() preg_find() ANSWER DOWNLOAD EXAMIANS APP