National_Instruments
200-500 · Question #77
200-500 Question #77: Real Exam Question with Answer & Explanation
Sign in or unlock 200-500 to reveal the answer and full explanation for question #77. The question stem and answer options stay visible for context.
Question
How many elements does the array $matches from the following code contain? 1 <?php 2 $str = "The cat sat on the roof of their house."; 4 $matches = preg_split("/(the)/i", $str, -1, PREG_SPLIT_DELIM_CAPTURE); 5 ?>
Options
- A2
- B3
- C4
- D7
- E9
Unlock 200-500 to see the answer
You've previewed enough free 200-500 questions. Unlock 200-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.