PHP Regular Expressions 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() preg_split() preg_destroy() preg_unchain() preg_divide() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$author = "nachiketh@example.com";$author = str_replace("a","@",$author);echo "Contact the author of this article at $author."; Cont@ct the @uthor of this @rticle @t n@chiketh@ex@mple.com Error Contact the author of this article at nachiketh@ex@mple.com Contact the author of this article at n@chiketh@ex@mple.com Cont@ct the @uthor of this @rticle @t n@chiketh@ex@mple.com Error Contact the author of this article at nachiketh@ex@mple.com Contact the author of this article at n@chiketh@ex@mple.com 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. Coffee? Hello! My name was Cameron Fox. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. tea? Hello! My name is Cameron Fox. Coffee? Hello! My name was Cameron Fox. Coffee? Hello! My name is Cameron Fox. tea? Hello! My name was Cameron Fox. tea? 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() implode() explode() concatenate() concat() implode() explode() concatenate() 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 contact@examians.com contact@ examians.com contact contact@examians.com contact@ examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following is not a preg PHP function? preg_split preg_matchall preg_match preg_match_all preg_split preg_matchall preg_match preg_match_all ANSWER DOWNLOAD EXAMIANS APP