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. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. Coffee? ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Parameter flags was added in which version of PHP? PHP 4.2 PHP 4.3 PHP 4.1 PHP 4.0 PHP 4.2 PHP 4.3 PHP 4.1 PHP 4.0 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX implementation was deprecated in which version of PHP? PHP 5 PHP 4 PHP 5.3 PHP 5.2 PHP 5 PHP 4 PHP 5.3 PHP 5.2 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 8 7 9 10 8 7 9 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$url = "contact@examians.com";echo ltrim(strstr($url, "@"),"@"); contact examians.com contact@examians.com contact@ contact examians.com contact@examians.com contact@ ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions can be used to concatenate array elements to form a single delimited string? concat() concatenate() implode() explode() concat() concatenate() implode() explode() ANSWER DOWNLOAD EXAMIANS APP