Zend
200-530 · Question #22
Which of the following functions will you use to break a string into an array based on a specific pattern? Each correct answer represents a complete solution. Choose all that apply.
The correct answer is A. preg_split() B. explode(). See the full explanation below for the reasoning.
Question
Which of the following functions will you use to break a string into an array based on a specific pattern? Each correct answer represents a complete solution. Choose all that apply.
Options
- Apreg_split()
- Bexplode()
- Cstrstr()
- Dimplode()
How the community answered
(59 responses)- A80% (47)
- C14% (8)
- D7% (4)
Community Discussion
No community discussion yet for this question.