Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Zend Certified PHP Engineer

Last Update 6 hours ago Total Questions : 223

The Zend Certified PHP Engineer content is now fully updated, with all current exam questions added 6 hours ago. Deciding to include 200-550 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our 200-550 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 200-550 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Zend Certified PHP Engineer practice test comfortably within the allotted time.

Question # 1

Type hinting in PHP allows the identification of the following variable types: (Choose 2)

A.

String

B.

Integer

C.

Array

D.

Any class or interface type

E.

All of the above

Question # 2

What will the $array array contain at the end of this script?

function modifyArray ( & $array)

{

foreach ($array as & $value)

{

$value = $value + 1;

}

$value = $value + 2;

}

$array = array (1, 2, 3);

modifyArray($array);

A.

2, 3, 4

B.

2, 3, 6

C.

4, 5, 6

D.

1, 2, 3

Question # 3

What is the pattern modifier for handling UTF-8 encoded preg_* functionality?

A.

e

B.

u

C.

PHP does not support UTF-8 encoded strings

D.

A pattern modifier is not needed

Question # 4

Transactions should be used to: (Choose 2)

A.

Prevent errors in case of a power outage or a failure in the SQL connection

B.

Ensure that the data is properly formatted

C.

Ensure that either all statements are performed properly, or that none of them are.

D.

Recover from user errors

Question # 5

What is the result of the following code?

define('PI', 3.14);

class T

{

const PI = PI;

}

class Math

{

const PI = T::PI;

}

echo Math::PI;

A.

Parse error

B.

3.14

C.

PI

D.

T::PI

Question # 6

What information can be used to reliably determine the type of an uploaded file?

A.

MIME type

B.

File name extension

C.

Contents of the file

Question # 7

What is the output of the following code?

function increment ($val)

{

$val = $val + 1;

}

$val = 1;

increment ($val);

echo $val;

Question # 8

What is the result of the following bitwise operation in PHP?

1 ^ 2

A.

1

B.

3

C.

2

D.

4

E.

-1

Question # 9

Which elements does the array returned by the function pathinfo() contain?

A.

root, dir, file

B.

dirname, filename, fileextension

C.

dirname, basename, extension

D.

path, file

Question # 10

What will be the output value of the following code?

$array = array(1,2,3);

while (list(,$v) = each($array));

var_dump(current($array));

A.

bool(false)

B.

int(3)

C.

int(1)

D.

NULL

E.

Array

Go to page: