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_divide() preg_destroy() preg_unchain() preg_split() preg_divide() preg_destroy() preg_unchain() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_found preg_match preg_search preg_find preg_found preg_match preg_search preg_find 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."; Error Contact the author of this article at n@chiketh@ex@mple.com Contact the author of this article at nachiketh@ex@mple.com Cont@ct the @uthor of this @rticle @t n@chiketh@ex@mple.com Error Contact the author of this article at n@chiketh@ex@mple.com Contact the author of this article at nachiketh@ex@mple.com Cont@ct the @uthor of this @rticle @t n@chiketh@ex@mple.com ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$line = "You like dogs. I hate dogs. We should marry."$sen = preg_split('/./', $line);print_r($sen); Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) Array([0]=>You like dogs. I hate dogs. We should marry.) Error You like dogs. I hate dogs. We should marry. Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.) Array([0]=>You like dogs. I hate dogs. We should marry.) Error You like dogs. I hate dogs. We should marry. ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching strings using POSIX style regular expression? 8 9 10 7 8 9 10 7 ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions. 9 10 8 7 9 10 8 7 ANSWER DOWNLOAD EXAMIANS APP