fork(2) download
  1. <?php
  2.  
  3. var_dump(new \DateTime('20018-09-01'));
  4. var_dump(new \DateTime('20018-09-01'));
  5.  
  6.  
Success #stdin #stdout 0.02s 82624KB
stdin
Standard input is empty
stdout
object(DateTime)#1 (3) {
  ["date"]=>
  string(26) "2008-09-01 20:01:00.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(3) "UTC"
}
object(DateTime)#1 (3) {
  ["date"]=>
  string(26) "2008-09-01 20:01:00.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(3) "CET"
}