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

Free Zend 200-500 Practice Exam with Questions & Answers | Set: 4

Questions 31

Which one of the following technologies was not built into PHP before version 5?

Options:
A.

XSL

B.

SOAP

C.

DOM

D.

SAX

Zend 200-500 Premium Access
Questions 32

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

Options:
A.

echo $test(3)

B.

echo $test[2];

C.

echo $test(2);

D.

echo $test{2};

E.

echo $test{3}

Questions 33

What is the purpose of the open_basedir directive?

Options:
A.

Provide a list of directories where PHP should search for files.

B.

Provide a list of directories from which PHP can open files.

C.

Provide a list of directories from which PHP cannot open files.

D.

Directory where the PHP extensions can be found.

Questions 34

Can calls to Web Services be queued natively in PHP?

Options:
A.

Yes

B.

No

C.

Only if PHP is compiled with --enable-soap-queue

Questions 35

Which of the following is NOT a valid function declaration?

Options:
A.

function x ($x1 = array())

B.

function x (A $x1)

C.

function x (A $x1 = null)

D.

function x ($x1 = $x2)

Questions 36

How can a SimpleXML object be converted to a DOM object?

Options:
A.

dom_import_simplexml()

B.

dom_export_simplexml()

C.

simplexml_import_dom()

D.

SimpleXML2Dom()

E.

None of the above.

Questions 37

Which of the following are valid identifiers (Choose 3)

Options:
A.

function 4You() { }

B.

function _4You() { }

C.

function object() { }

D.

$1 = "Hello";

E.

$_1 = "Hello World";

Questions 38

Which of the following functions are used to escape data within the context of HTML?

(Choose 2)

Options:
A.

htmlentities()

B.

addslashes()

C.

stripslashes()

D.

strip_tags()

E.

htmlspecialchars()

Questions 39

Transactions are used to:

Options:
A.

guarantee high performance

B.

secure data consistency

C.

secure access to the database

D.

reduce the database server overhead

E.

reduce code size in PHP

Questions 40

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

Options:
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.

Exam Code: 200-500
Certification Provider: Zend
Exam Name: Zend PHP 5 Certification
Last Update: Mar 28, 2025
Questions: 219

Zend Related Exams

Zend Free Exams

Zend Free Exams
Enhance your Zend exam prep with free resources and practice tests from Examstrack. Achieve Zend certification success by exploring Examstrack.