New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Zend PHP 5 Certification 200-500 Question # 50 Topic 6 Discussion

Zend PHP 5 Certification 200-500 Question # 50 Topic 6 Discussion

200-500 Exam Topic 6 Question 50 Discussion:
Question #: 50
Topic #: 6

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.";

3

4 $matches = preg_split("/(the)/i", $str, -1,

PREG_SPLIT_DELIM_CAPTURE);

5 ?>


A.

2


B.

3


C.

4


D.

7


E.

9


Get Premium 200-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.