200-710 practice question 9 of 30

How many elements does the array $matches from the following code contain? $str = "The cat sat on the roof of their house."; $matches = preg_split("/(the)/i", $str, -1, PREG_SPLIT_DELIM_CAPTURE);

Full set: 232 questions
Answer options
A: 2
B: 3
C: 4
D: 7 E: 9 Correct answer
Correct Answer:
D. 7 E: 9
Scroll to Top