Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 570 Bytes

0016.md

File metadata and controls

19 lines (16 loc) · 570 Bytes

John works as a Website Developer for PHPWEB Inc. He is using a Windows operating system and is also working on PHP engine 7.1. He develops the following script:

<?= date("M-d-Y"mktime(00012321965));

What will be the output of the above PHP script?

  • A) Jan-01-1966
  • B) Date out of range error
  • C) Jan-01-1964
  • D) -1 and warning
Answer

Answer: A