1.

How many constants does the DateTime class have?(a) 8(b) 9(c) 10(d) 11I had been asked this question in an online quiz.This is a very interesting question from Working with Dates topic in chapter File and Session Handling in PHP of PHP

Answer»

The correct ANSWER is (d) 11

The explanation: The DateTime CLASS has 11 constants, no static properties or METHODS.



Discussion

No Comment Found

Related InterviewSolutions