PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 10 8 9 7 10 8 9 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_matchall preg_match preg_split preg_match_all preg_matchall preg_match preg_split preg_match_all 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 ( [1] => steak ) Array ( [3] => potatoes ) Array ( [0] => pasta [1] => steak [2] => fish [3] => potatoes ) Array ( [0] => potatoes ) Array ( [1] => steak ) Array ( [3] => potatoes ) Array ( [0] => pasta [1] => steak [2] => fish [3] => potatoes ) Array ( [0] => potatoes ) 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!"; Username is all lowercase! No Output is returned Error Username must be all lowercase! Username is all lowercase! No Output is returned Error Username must be all lowercase! ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions can be used to concatenate array elements to form a single delimited string? explode() concatenate() concat() implode() explode() concatenate() concat() implode() ANSWER DOWNLOAD EXAMIANS APP
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