PrepAway - Latest Free Exam Questions & Answers

How many elements does the $matches array contain after the following function call is performed? <code>

How many elements does the $matches array contain after the following function call is
performed?
<code>
preg_match(‘/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9])/’, ’21st March
2006′, $matches);
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
1

B.
2

C.
3

D.
4

One Comment on “How many elements does the $matches array contain after the following function call is performed? <code>


Leave a Reply

Your email address will not be published. Required fields are marked *