Zend
200-530 · Question #533
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 A. -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
- A-1 and warning
- BJan-01-1964
- CJan-01-1966
- DDate out of range error
How the community answered
(31 responses)- A74% (23)
- B16% (5)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.