Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 4 Question 71 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 71
Topic #: 4
[All 200-710 Questions]

Which of the following will NOT instantiate a DateTime object with the current timestamp?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Cheryl
1 days ago
Option D looks like the right answer. Using `time()` directly doesn't create a DateTime object, it just gives you the current timestamp.
upvoted 0 times
...
Sherell
3 days ago
I believe options A, B, and C are correct because they all provide valid ways to instantiate a DateTime object with the current timestamp.
upvoted 0 times
...
Angelyn
4 days ago
I agree with Quiana. Option D is incorrect because the DateTime constructor expects a string, not an integer like time().
upvoted 0 times
...
Quiana
5 days ago
I think option D will NOT instantiate a DateTime object with the current timestamp.
upvoted 0 times
...

Save Cancel