3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = new \DateTime('last hour -30 minutes'); echo $dt->format(\DateTime::ATOM);
Output for 5.6.0 - 5.6.30, hhvm-3.21.3, 7.0.0 - 7.3.0beta1
2018-02-14T11:55:36+01:00
Output for hhvm-3.18.5, hhvm-3.22.0
2018-02-14T11:55:37+01:00