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 Error Username is all lowercase! Username must be all lowercase! No Output is returned Error Username is all lowercase! Username must be all lowercase! ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX implementation was deprecated in which version of PHP? PHP 5.2 PHP 4 PHP 5 PHP 5.3 PHP 5.2 PHP 4 PHP 5 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions finds the last occurrence of a string, returning its numerical position? strrpos() strpos() strlast() strlastpos() strrpos() strpos() strlast() strlastpos() 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
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 ( [0] => potatoes ) Array ( [3] => potatoes ) Array ( [1] => steak ) Array ( [0] => pasta [1] => steak [2] => fish [3] => potatoes ) Array ( [0] => potatoes ) Array ( [3] => potatoes ) Array ( [1] => steak ) 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_split() preg_divide() preg_destroy() preg_unchain() preg_split() preg_divide() preg_destroy() preg_unchain() ANSWER DOWNLOAD EXAMIANS APP