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 =…

Choose your answer, then check it against the explanation.

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);
Answer options
Question 9 of 30

Keep practicing

Take the free 200-710 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other 200-710 practice questions

Scroll to Top