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_find_replace() preg_find() preg_findre() preg_replace() preg_find_replace() preg_find() 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."; Salad is good is good Salad SaladSaladSaladSaladSalad is good is good SaladSaladSaladSaladSalad Salad is good is good Salad SaladSaladSaladSaladSalad is good is good SaladSaladSaladSaladSalad ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_find preg_search preg_found preg_match preg_find preg_search preg_found preg_match ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_match_all preg_matchall preg_split preg_match preg_match_all preg_matchall preg_split preg_match ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$name = "What is your name?";if (preg_match("/name/"),$name)echo "My name is Will Pitt ";elseecho "My name is not Will Pitt ";if (preg_match("/are/"))echo "I am great"else echo "I am not great"; My name is not Will Pitt I am not great My name is Will Pitt I am great My name is Will Pitt I am not great My name is not Will Pitt I am great My name is not Will Pitt I am not great My name is Will Pitt I am great My name is Will Pitt I am not great My name is not Will Pitt I am great ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$username = "jasoN";if (ereg("([^a-z])",$username))echo "Username must be all lowercase!";elseecho "Username is all lowercase!"; No Output is returned Username must be all lowercase! Username is all lowercase! Error No Output is returned Username must be all lowercase! Username is all lowercase! Error ANSWER DOWNLOAD EXAMIANS APP