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 7 hours ago Total Questions : 223

The Zend Certified PHP Engineer content is now fully updated, with all current exam questions added 7 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 # 21

Which class of HTTP status codes is used for server error conditions?

A.

2XX

B.

3XX

C.

4XX

D.

5XX

Question # 22

Which sentence describes the following regular expression match?

preg_match('/^\d+(?:\.[0-9]+)?$/', $test);

A.

It matches float numbers with thousand seperators.

B.

It matches float numbers without thousand seperators.

C.

It matches binary integer numbers.

D.

It matches any string.

E.

It does not match anything

Question # 23

Which of these databases is NOT supported by a PDO driver?

A.

Microsoft SQL Server

B.

SQLite

C.

Microsoft Access

D.

Berkeley DB

Question # 24

What is the output of the following code?

for ($i = 0; $i < 1.02; $i += 0.17) {

$a[$i] = $i;

}

echo count($a);

A.

0

B.

1

C.

2

D.

6

E.

7

Question # 25

Which of the following rules must every correct XML document adhere to? (Choose 2)

A.

It has to be well-formed.

B.

It has to be valid.

C.

It has to be associated to a DTD.

D.

It may only contain UTF-8 encoded characters.

Question # 26

Given a php.ini setting of

default_charset = utf-8

what will the following code print in the browser?

header('Content-Type: text/html; charset=iso-8859-1');

echo ' & #9986; & #10004; & #10013;';

A.

Three Unicode characters, or unreadable text, depending on the browser

B.

& #9986; & #10004; & #10013;

C.

A blank line due to charset mismatch

Question # 27

You need to escape special characters to use user input inside a regular expression. Which functions would you use? (Choose 2)

A.

addslashes()

B.

htmlentities()

C.

preg_quote()

D.

regex_quote()

E.

quote_meta()

Question # 28

Given the following code, what will the output be:

trait MyTrait {

private $abc = 1;

public function increment() {

$this- > abc++;

}

public function getValue() {

return $this- > abc;

}

}

class MyClass {

use MyTrait;

public function incrementBy2() {

$this- > increment();

$this- > abc++;

}

}

$c = new MyClass;

$c- > incrementBy2();

var_dump($c- > getValue());

A.

Fatal error: Access to private variable MyTrait::$abc from context MyClass

B.

Notice: Undefined property MyClass::$abc

C.

int(2)

D.

int(3)

E.

NULL

Question # 29

The following form is loaded in a recent browser and submitted, with the second select option selected:

< form method="post" >

< select name="list" >

< option > one < /option >

< option > two < /option >

< option > three < /option >

< /select >

< /form >

In the server-side PHP code to deal with the form data, what is the value of $_POST['list'] ?

A.

1

B.

2

C.

two

D.

null

Question # 30

What is the return value of the following code: substr_compare("foobar", "bar", 3);

A.

-1

B.

1

C.

TRUE

D.

0

E.

FALSE

Go to page: