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([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) Array([1]=> 1) Array([0]=>0 [1]=>1 [2]=>two [3]=>three [4]=>four [5]=>5) Array([0]=>0 [1]=>1 [5]=>5) 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 is good Salad Salad is good SaladSaladSaladSaladSalad is good is good SaladSaladSaladSaladSalad is good Salad Salad is good SaladSaladSaladSaladSalad is good ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_found preg_match preg_search preg_find preg_found preg_match preg_search preg_find ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions. 7 9 10 8 7 9 10 8 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 POSIX implementation was deprecated in which version of PHP? PHP 4 PHP 5.2 PHP 5 PHP 5.3 PHP 4 PHP 5.2 PHP 5 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP