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! Error Username must be all lowercase! No Output is returned Username is all lowercase! Error Username must be all lowercase! No Output is returned 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([0]=>0 [1]=>1 [5]=>5) Array([2]=>two [3]=>three [4]=>four) Array([1]=> 1) Array([0]=>0 [1]=>1 [2]=>two [3]=>three [4]=>four [5]=>5) Array([0]=>0 [1]=>1 [5]=>5) Array([2]=>two [3]=>three [4]=>four) ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good."; is good SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good is good Salad Salad is good is good SaladSaladSaladSaladSalad SaladSaladSaladSaladSalad is good is good Salad Salad is good ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions [:alpha:] can also be specified as. [a-z] [A-z] [A-Za-z0-9] [A-za-z] [a-z] [A-z] [A-Za-z0-9] [A-za-z] ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 9 7 8 10 9 7 8 10 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