Vidyalelo
PHP · Q11

Regular Expressions

Programming · PHP · question 11

Q11

How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.

A.
7
B.
8
Answer
C.
9
D.
10

Answer: Option B

Solution

Answer: Option B
Solution:
The functions are preg_filter(), preg_grep(), preg_match(), preg_match_all(), preg_quote(), preg_replace(), preg_replace_callback(), and preg_split().