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

200-500 Zend Exam Lab Questions

Page: 6 / 8
Total 219 questions

Zend PHP 5 Certification Questions and Answers

Question 21

When you need to process the values of columns in a database, you should:

Options:

A.

Only use built-in database functions

B.

Always use read the values as-is from the database and then process them with PHP

C.

Use built-in database functions for simple processing, and perform more complicated logic in PHP

D.

Use built-in database functions for complicated logic, and perform simpler functions in PHP

Question 22

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.

Question 23

How can the line on which HTTP headers were sent inside a script be determined?

Options:

A.

Using the headers_sent() function.

B.

Using the output_start() function.

C.

Using the ob_start() function.

D.

Cannot be determined

Question 24

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

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

Options:

A.

1

B.

2

C.

two

D.

null (since the value attribute of the list has not been set)

Page: 6 / 8
Total 219 questions