PHP Regular Expressions Which of the following would be a potential match for the Perl-based regular expression /fo{2,4}/ ?1. fol2. fool3. fooool4. fooooool 1, 3 and 4 2 and 3 Only 1 1 and 4 1, 3 and 4 2 and 3 Only 1 1 and 4 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. [1]=>I hate dogs. [2]=>We should marry.) You like dogs. I hate dogs. We should marry. Array([0]=>You like dogs. I hate dogs. We should marry.) Error Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) You like dogs. I hate dogs. We should marry. Array([0]=>You like dogs. I hate dogs. We should marry.) Error ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 10 9 7 8 10 9 7 8 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 Which one of the following is not a preg PHP function? preg_match_all preg_match preg_matchall preg_split preg_match_all preg_match preg_matchall preg_split ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions will convert a string to all uppercase? struppercase() strtoupper() str_uppercase() uppercase() struppercase() strtoupper() str_uppercase() uppercase() ANSWER DOWNLOAD EXAMIANS APP