PHP Regular Expressions Which one of the following regular expression matches any string containing zero or one p? p# P? p* p+ p# P? p* p+ ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX stands for Portative Operating System Interface for Linux Portative Operating System Interface for Unix Portable Operating System Interface for Linux Portable Operating System Interface for Unix Portative Operating System Interface for Linux Portative Operating System Interface for Unix Portable Operating System Interface for Linux Portable Operating System Interface for Unix 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 ( [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 ) Array ( [3] => potatoes ) Array ( [1] => steak ) Array ( [0] => potatoes ) ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_split preg_match preg_match_all preg_matchall preg_split preg_match preg_match_all preg_matchall 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_find() preg_find_replace() preg_replace() preg_findre() preg_find() preg_find_replace() preg_replace() preg_findre() 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 Salad is good is good Salad is good SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good Salad is good is good Salad is good SaladSaladSaladSaladSalad ANSWER DOWNLOAD EXAMIANS APP