Zend
200-530 · Question #401
John works as a Website Developer for PHPWEB Inc. He is using a Windows operating system and is also working on PHP engine 5.0. He develops the following script: <?php echo date("M-d-Y", mktime(0…
The correct answer is D. -1 and warning. See the full explanation below for the reasoning.
Question
John works as a Website Developer for PHPWEB Inc. He is using a Windows operating system and is also working on PHP engine 5.0. He develops the following script: <?php echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1965)); ?> What will be the output of the above PHP script?
Options
- AJan-01-1966
- BDate out of range error
- CJan-01-1964
- D-1 and warning
How the community answered
(18 responses)- A6% (1)
- C11% (2)
- D83% (15)
Community Discussion
No community discussion yet for this question.