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 # 41

Which of the following statements are FALSE?

A.

SimpleXML allows removal of attributes.

B.

SimpleXML allows addition of new attributes.

C.

SimpleXML allows removal of nodes.

D.

SimpleXML allows addition of new nodes.

E.

None of the above

Question # 42

Consider the following two files. When you run test.php, what would the output look like?

test.php:

include "MyString.php";

print ",";

print strlen("Hello world!");

MyString.php:

namespace MyFramework\String;

function strlen($str)

{

return \strlen($str)*2; // return double the string length

}

print strlen("Hello world!")

A.

12,12

B.

12,24

C.

24,12

D.

24,24

E.

PHP Fatal error: Cannot redeclare strlen()

Question # 43

Before the headers are sent, how can you remove a previously set header?

A.

Use the header_remove() function, providing the name of the header

B.

Use the die() function to abort the PHP script

C.

Not possible

D.

Use the headers_list() function, providing the name of the header as the second argument

Question # 44

In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this? (Choose 2)

A.

Store session data in a different location with session.save_path .

B.

Store session data in a database.

C.

Enable safe_mode .

D.

Set session.name to something unique.

Question # 45

You want to access the 3rd character of a string, contained in the variable $test. Which of the following possibilites work? (Choose 2)

A.

echo $test(3);

B.

echo $test[2];

C.

echo $test(2);

D.

echo $test{2};

E.

echo $test{3};

Question # 46

What types of HTTP authentication are supported by PHP? (Choose 2)

A.

Basic

B.

Advanced

C.

Strict

D.

Digest

E.

Realm

Question # 47

You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your page layout. Which function do you apply to the text, when displaying it? (Choose 2)

A.

strip_tags()

B.

htmlentities()

C.

htmltidy()

D.

htmlspecialchars()

E.

showhtml()

Question # 48

Which of the following can be registered as entry points with a SoapServer instance (choose 2):

A.

A single function

B.

A single method from a class

C.

All methods from a class

D.

All classes defined in a script

Question # 49

Your supervisor wants you to disallow PHP scripts to open remote HTTP and FTP resources using PHP's file functions. Which php.ini setting should you change accordingly?

Question # 50

What function allows resizing of PHP's file write buffer?

A.

ob_start()

B.

set_write_buffer()

C.

stream_set_write_buffer()

D.

Change the output_buffering INI setting via ini_set() function

Go to page: