PHP Regular Expressions Which one of the following functions finds the last occurrence of a string, returning its numerical position? strlastpos() strlast() strpos() strrpos() strlastpos() strlast() strpos() strrpos() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_split preg_match_all preg_match preg_matchall preg_split preg_match_all preg_match 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_findre() preg_find() preg_find_replace() preg_replace() preg_findre() preg_find() preg_find_replace() preg_replace() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$line = "You like dogs. I hate dogs. We should marry."$sen = preg_split('/./', $line);print_r($sen); Array([0]=>You like dogs. I hate dogs. We should marry.) Error You like dogs. I hate dogs. We should marry. Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) Array([0]=>You like dogs. I hate dogs. We should marry.) Error You like dogs. I hate dogs. We should marry. Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) 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 must be all lowercase! No Output is returned Username is all lowercase! Error Username must be all lowercase! No Output is returned Username is all lowercase! Error ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which among the following is/are not a metacharacter?1. /a2. /A3. /b4. /B Only 1 1 and 3 2, 3 and 4 2 and 4 Only 1 1 and 3 2, 3 and 4 2 and 4 ANSWER DOWNLOAD EXAMIANS APP