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.6.28, 7.0.20 - 7.2.0
2015-11-05T19:28:47Z
Output for 7.0.6
2016-05-03T18:24:36Z
Output for 7.0.5
2016-04-03T06:50:05Z
Output for 7.0.4
2016-03-10T18:36:33Z
Output for 7.0.3
2016-03-18T19:44:45Z
Output for 7.0.2
2016-03-23T01:52:09Z
Output for 7.0.1
2016-03-24T05:32:10Z
Output for 7.0.0
2016-03-27T07:28:28Z
Output for 5.6.21
2016-05-02T13:33:58Z
Output for 5.6.20
2016-04-10T05:49:28Z
Output for 5.6.19
2016-03-08T02:47:50Z
Output for 5.6.18
2016-03-15T11:31:00Z
Output for 5.6.17
2016-03-19T23:10:44Z
Output for 5.6.16
2016-03-28T08:15:46Z
Output for 5.6.15
2016-03-29T09:06:29Z
Output for 5.6.14
2016-04-02T10:57:42Z
Output for 5.6.13
2016-04-15T15:21:29Z
Output for 5.6.12
2016-04-20T05:50:38Z
Output for 5.6.11
2016-04-24T12:12:49Z
Output for 5.6.10
2016-04-25T14:16:10Z
Output for 5.6.9
2016-04-27T19:26:18Z
Output for 5.6.8
2016-04-30T04:18:29Z
Output for 5.5.35
2016-05-22T20:35:24Z
Output for 5.5.34
2016-04-11T08:01:09Z
Output for 5.5.33
2016-03-09T05:30:24Z
Output for 5.5.32
2016-03-17T15:26:13Z
Output for 5.5.31
2016-03-21T02:12:14Z
Output for 5.5.30
2016-04-01T10:59:56Z
Output for 5.5.29
2016-04-17T05:44:59Z
Output for 5.5.28
2016-04-21T09:04:15Z
Output for 5.5.27
2016-04-22T10:51:10Z
Output for 5.5.26
2016-04-26T16:58:41Z
Output for 5.5.25
2016-04-28T23:51:16Z
Output for 5.5.24
2016-05-24T06:24:24Z
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