Q23
Which one of the following functions is used to search a string?
A.
preg_match
AnswerB.
preg_search
C.
preg_find
D.
preg_found
Answer: Option A
Solution
Answer: Option A
Solution:
The function returns 1 if search was successful else returns 0.