3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime(NULL,new DateTimeZone("UTC")))->format(DateTime::ATOM);
based on tIA82
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
2017-07-09T00:49:51+00:00
Output for hhvm-3.15.4
Fatal error: Uncaught exception 'Exception' with message '__construct() expects parameter 1 to be string, null given' in /in/RaBG7:3 Stack trace: #0 /in/RaBG7(3): DateTime->__construct() #1 {main}
Process exited with code 255.