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

Changed 200-710 Exam Questions

Page: 3 / 3
Total 232 questions

Zend Certified Engineer Questions and Answers

Question 9

What method can be used to find the tag via the DOM extension?

Options:

A.

getElementById()

B.

getElementsByTagName()

C.

getElementsByTagNameNS()

D.

getElementByName()

E.

findTag()

Question 10

Given a DateTime object that is set to the first second of the year 2017, which of the following samples will correctly return a date in the format ‘2017-01-01 00:00:01’?

Options:

A.

$datetime->format(‘%Y-%m-%d %h:%i:%s’)

B.

$datetime->format(‘%Y-%m-%d %h:%i:%s’, array(‘year’, ‘month’, ‘day’, ‘hour’, ‘minute’, ‘second’))

C.

$datetime->format(‘Y-m-d H:i:s’)

D.

$date = date(“Y-m-d H:i:s’, $datetime);

Question 11

What is the output of the following code?

Options:

A.

5

B.

10

C.

50

D.

Fatal error

Page: 3 / 3
Total 232 questions