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 2 and 3 1 and 4 1, 3 and 4 Only 1 2 and 3 1 and 4 1, 3 and 4 Only 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_find preg_search preg_match preg_found preg_find preg_search preg_match preg_found 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 must be all lowercase! Error Username is all lowercase! No Output is returned Username must be all lowercase! Error Username is all lowercase! ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Parameter flags was added in which version of PHP? PHP 4.1 PHP 4.2 PHP 4.3 PHP 4.0 PHP 4.1 PHP 4.2 PHP 4.3 PHP 4.0 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)); this is some text that we might like to parse. [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => some text that [1] => 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. [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => some text that [1] => we might like to parse. ) Array ( [0] => this is [1] => some text that [2] => we might like to parse. ) ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following preg PHP functions is used to take a string, and put it in an array? preg_divide() preg_destroy() preg_split() preg_unchain() preg_divide() preg_destroy() preg_split() preg_unchain() ANSWER DOWNLOAD EXAMIANS APP