PHP Regular Expressions Which one of the following is not a preg PHP function? preg_split preg_match_all preg_matchall preg_match preg_split preg_match_all preg_matchall preg_match 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 is all lowercase! Username must be all lowercase! Error No Output is returned Username is all lowercase! Username must be all lowercase! Error ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which among the following is/are not a metacharacter?1. /a2. /A3. /b4. /B 2, 3 and 4 1 and 3 2 and 4 Only 1 2, 3 and 4 1 and 3 2 and 4 Only 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$number = array(0,1,two,three,four,5);$num = preg_grep("/[0-5]/", $number);print_r($num); Array([1]=> 1) Array([0]=>0 [1]=>1 [2]=>two [3]=>three [4]=>four [5]=>5) Array([2]=>two [3]=>three [4]=>four) Array([0]=>0 [1]=>1 [5]=>5) Array([1]=> 1) Array([0]=>0 [1]=>1 [2]=>two [3]=>three [4]=>four [5]=>5) Array([2]=>two [3]=>three [4]=>four) Array([0]=>0 [1]=>1 [5]=>5) ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 7 9 8 10 7 9 8 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions finds the last occurrence of a string, returning its numerical position? strlastpos() strrpos() strpos() strlast() strlastpos() strrpos() strpos() strlast() ANSWER DOWNLOAD EXAMIANS APP