New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Download Full Version 200-500 Zend Exam

Page: 5 / 7
Question 20

What is the return value of the following code?

strpos("me myself and I", "m", 2)

Options:

A.

2

B.

3

C.

4

D.

0

E.

1

Question 21

Would the following code catch a parse error?

try {

echo $label

} catch (Exception $e) {

echo $e->getMessage();

}

Options:

A.

Yes

B.

No

Question 22

Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value in PHP 4?

Options:

A.

Class

B.

String

C.

Object

D.

Array

Question 23

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

preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9])/', '21st March

2006', $matches);

Options:

A.

1

B.

2

C.

3

D.

4

Page: 5 / 7
Exam Code: 200-500
Exam Name: Zend PHP 5 Certification
Last Update: Dec 22, 2024
Questions: 219
200-500 pdf

200-500 PDF

$25.5  $84.99
200-500 Engine

200-500 Testing Engine

$28.5  $94.99
200-500 PDF + Engine

200-500 PDF + Testing Engine

$40.5  $134.99