PHP Regular Expressions PHP has long supported two regular expression implementations known as _______ and _______.1. Perl2. PEAR3. Pearl4. POSIX 2 and 3 2 and 4 1 and 4 1 and 2 2 and 3 2 and 4 1 and 4 1 and 2 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); You like dogs. I hate dogs. We should marry. Error Array([0]=>You like dogs. I hate dogs. We should marry.) Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) You like dogs. I hate dogs. We should marry. Error Array([0]=>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?$text = "this istsome text thatnwe might like to parse.";print_r(split("[nt]",$text)); Array ( [0] => some text that [1] => we might like to parse. ) [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => this is [1] => some text that [2] => we might like to parse. ) this is some text that we might like to parse. Array ( [0] => some text that [1] => we might like to parse. ) [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => this is [1] => some text that [2] => we might like to parse. ) this is some text that we might like to parse. 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 Which one of the following functions will convert a string to all uppercase? uppercase() struppercase() strtoupper() str_uppercase() uppercase() struppercase() strtoupper() str_uppercase() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 7 8 9 10 7 8 9 10 ANSWER DOWNLOAD EXAMIANS APP