3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime('@' . time()))->format(DATETIME::ATOM);
Output for 5.6.28, 7.0.20 - 7.2.0
2015-12-21T15:35:17+00:00
Output for 5.5.0 - 5.6.23, 7.0.0 - 7.0.8
2015-12-21T15:35:16+00:00