Black Friday Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Ace the Zend 200-550 Exam: Ultimate Preparation Guide

Questions 41

Which of the following parts must a XML document have in order to be well-formed?

Options:

A.

An XML declaration

B.

A root element

C.

A specified encoding

D.

A reference to either a DTD or an XML schema definition

Buy Now
Questions 42

The constructs for(), foreach(), and each() can all be used to iterate an object if the object...

Options:

A.

implements ArrayAccess

B.

implements Iterator

C.

implements Iterator and ArrayAccess

D.

None of the above

Buy Now
Questions 43

What is the name of the key for the element in $_FILES['name'] that contains the provisional name of the uploaded file?

Options:

Buy Now
Questions 44

Which of the following will set a 10 seconds read timeout for a stream?

Options:

A.

ini_set("default_socket_timeout", 10);

B.

stream_read_timeout($stream, 10);

C.

Specify the timeout as the 5th parameter to the fsockopen() function used to open a stream

D.

stream_set_timeout($stream, 10);

E.

None of the above

Buy Now
Questions 45

You want to parse a URL into its single parts. Which function do you choose?

Options:

A.

parse_url()

B.

url_parse()

C.

get_url_parts()

D.

geturlparts()

Buy Now
Questions 46

Which of these statements about PDO is NOT true?

Options:

A.

PDO has built-in support for Large Objects (LOBs).

B.

Placeholders within PDO prepared statements need to be named.

C.

When something goes wrong, PDO can throw an instance of its own exception class.

D.

PDO does not emulate missing database features.

Buy Now
Questions 47

Given the following code, what is correct?

function f(stdClass &$x = NULL) { $x = 42; }

$z = new stdClass;

f($z);

var_dump($z);

Options:

A.

Error: Typehints cannot be NULL

B.

Error: Typehints cannot be references

C.

Result is NULL

D.

Result is object of type stdClass

E.

Result is 42

Buy Now
Questions 48

Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?

Options:

A.

headers_sent() returns true

B.

Output buffering is enabled

C.

The client supports local buffering

D.

The webserver uses preemptive mode

Buy Now
Questions 49

Transactions should be used to: (Choose 2)

Options:

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

Buy Now
Questions 50

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

Buy Now
Exam Code: 200-550
Exam Name: Zend Certified PHP Engineer
Last Update: Dec 4, 2024
Questions: 223

PDF + Testing Engine

$164.99
$66

Testing Engine

$124.99
$50

PDF (Q&A)

$104.99
$42