3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new DateTime(); echo $a->format('Y-m-d\TH:i:s\Z');
based on GDGEl
Output for 5.5.0 - 5.6.20, 5.6.22 - 7.0.19, 7.0.21 - 7.3.0
2015-11-05T19:28:47Z
Output for 5.6.21, 7.0.20
2015-11-05T19:28:48Z
Output for 5.4.42 - 5.4.45
2015-11-05T19:28:59Z
Output for 5.4.35 - 5.4.41
2015-11-05T19:29:00Z
Output for 5.4.28 - 5.4.34
2015-11-05T19:29:01Z
Output for 5.4.21 - 5.4.27
2015-11-05T19:29:02Z
Output for 5.4.15 - 5.4.20
2015-11-05T19:29:03Z
Output for 5.4.9 - 5.4.14
2015-11-05T19:29:04Z
Output for 5.4.2 - 5.4.8
2015-11-05T19:29:05Z
Output for 5.3.25 - 5.4.1
2015-11-05T19:29:06Z
Output for 5.3.19 - 5.3.24
2015-11-05T19:29:07Z