Q27
Which one of the following preg PHP functions is used to take a string, and put it in an array?
A.
preg_destroy()
B.
preg_split()
AnswerC.
preg_unchain()
D.
preg_divide()
Answer: Option B
Solution
Answer: Option B
Solution:
The string is broken up into different values in the array based upon your input.