PHP Regular Expressions Which one of the following functions is used to search a string? preg_match preg_found preg_find preg_search preg_match preg_found preg_find preg_search ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$str = "Hello! My name is Cameron Fox. Coffee?";$find = array('/is/','/coffee/');$replace = array('/was/','/tea/');echo preg_replace ($find, $replace, $str); Hello! My name is Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Parameter flags was added in which version of PHP? PHP 4.1 PHP 4.3 PHP 4.0 PHP 4.2 PHP 4.1 PHP 4.3 PHP 4.0 PHP 4.2 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions PHP has long supported two regular expression implementations known as _______ and _______.1. Perl2. PEAR3. Pearl4. POSIX 1 and 2 1 and 4 2 and 3 2 and 4 1 and 2 1 and 4 2 and 3 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX implementation was deprecated in which version of PHP? PHP 4 PHP 5.3 PHP 5 PHP 5.2 PHP 4 PHP 5.3 PHP 5 PHP 5.2 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which among the following is/are not a metacharacter?1. /a2. /A3. /b4. /B 1 and 3 2 and 4 Only 1 2, 3 and 4 1 and 3 2 and 4 Only 1 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP