Say we have two compare two strings which of the following function/functions can you use?<br/>1. strcmp()<br/>2. strcasecmp()<br/>3. strspn()<br/>4. strcspn() 3 and 4 None of the mentioned All of the mentioned 1 and 2 TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following is not a preg PHP function? preg_split preg_match preg_match_all preg_matchall TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following regular expression matches any string containing zero or one p? p* p+ P? p# TRUE ANSWER : ? YOUR ANSWER : ?
How many functions does PHP offer for searching strings using POSIX style regular expression? 8 9 7 10 TRUE ANSWER : ? YOUR ANSWER : ?
PHP has long supported two regular expression implementations known as _______ and _______.<br/>1. Perl<br/>2. PEAR<br/>3. Pearl<br/>4. POSIX 1 and 2 1 and 4 2 and 4 2 and 3 TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following preg PHP functions is used to take a string, and put it in an array? preg_split() preg_destroy() preg_unchain() preg_divide() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following functions is used to search a string? preg_match preg_found preg_search preg_find TRUE ANSWER : ? YOUR ANSWER : ?
POSIX implementation was deprecated in which version of PHP? PHP 5 PHP 5.2 PHP 5.3 PHP 4 TRUE ANSWER : ? YOUR ANSWER : ?
Which among the following is/are not a metacharacter?<br/>1. /a<br/>2. /A<br/>3. /b<br/>4. /B 2, 3 and 4 2 and 4 Only 1 1 and 3 TRUE ANSWER : ? YOUR ANSWER : ?