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 How many functions does PHP offer for searching strings using POSIX style regular expression? 9 8 7 10 9 8 7 10 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 4 2 and 3 1 and 2 1 and 4 2 and 4 2 and 3 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 preg PHP function is used to do a find and replace on a string or an array? preg_replace() preg_find() preg_find_replace() preg_findre() preg_replace() preg_find() preg_find_replace() preg_findre() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX implementation was deprecated in which version of PHP? PHP 5.2 PHP 5 PHP 5.3 PHP 4 PHP 5.2 PHP 5 PHP 5.3 PHP 4 ANSWER DOWNLOAD EXAMIANS APP