3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((new \DateTime('+600s'))->format(DateTime::ATOM));
based on NlHgo
Output for 5.6.0 - 5.6.38, hhvm-3.15.4, 7.0.0 - 7.0.33, 7.1.1 - 7.3.1
string(25) "2017-07-05T16:11:42+06:00"
Output for 7.1.0
string(25) "2017-07-05T16:11:41+06:00"