Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

200-550 Exam Questions Tutorials

Page: 4 / 8
Total 223 questions

Zend Certified PHP Engineer Questions and Answers

Question 13

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

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.

Question 14

What function can be used to retrieve an array of current options for a stream context?

Options:

A.

stream_context_get_params

B.

stream_context_get_default

C.

stream_context_get_options

D.

The 'options' element of the stream_get_meta_data return value

Question 15

Which of the following PHP values may NOT be encoded to a JavaScript literal using PHP's ext/json capabilities?

Options:

A.

'Hello, world!'

B.

function(){ alert("Hello, world!"); }

C.

array('Hello, world!')

D.

array('message' => 'Hello, world!')

Question 16

What DOMElement method should be used to check for availability of a non-namespaced attribute?

Options:

A.

getAttributeNS()

B.

getAttribute()

C.

hasAttribute()

D.

hasAttributeNS()

Page: 4 / 8
Total 223 questions