3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime('now'))->format(DateTime::W3C);
based on cYgTo
Output for 5.6.28, 7.0.14 - 7.1.0
2014-09-23T17:50:02+02:00
Output for 7.0.6
2016-05-03T10:09:53+02:00
Output for 7.0.5
2016-04-02T22:57:39+02:00
Output for 7.0.4
2016-03-10T09:32:50+01:00
Output for 7.0.3
2016-03-18T10:11:48+01:00
Output for 7.0.2
2016-03-22T16:10:24+01:00
Output for 7.0.1
2016-03-23T20:47:18+01:00
Output for 7.0.0
2016-03-26T22:19:47+01:00
Output for hhvm-3.12.0
2016-03-12T12:41:08+01:00
Output for hhvm-3.10.0
2016-03-30T11:49:34+02:00
Output for 5.6.21
2016-05-02T05:29:44+02:00
Output for 5.6.20
2016-04-09T21:55:21+02:00
Output for 5.6.19
2016-03-07T17:40:27+01:00
Output for 5.6.18
2016-03-15T01:44:44+01:00
Output for 5.6.17
2016-03-19T14:25:58+01:00
Output for 5.6.16
2016-03-28T00:07:05+02:00
Output for 5.6.15
2016-03-29T01:11:56+02:00
Output for 5.6.14
2016-04-02T03:31:22+02:00
Output for 5.6.13
2016-04-15T07:25:40+02:00
Output for 5.6.12
2016-04-19T21:12:46+02:00
Output for 5.6.11
2016-04-23T04:15:29+02:00
Output for 5.6.10
2016-04-25T05:59:13+02:00
Output for 5.6.9
2016-04-27T10:57:12+02:00
Output for 5.6.8
2016-04-29T19:06:50+02:00
Output for 5.5.35
2016-05-22T09:17:15+02:00
Output for 5.5.34
2016-04-11T00:16:22+02:00
Output for 5.5.33
2016-03-08T20:37:25+01:00
Output for 5.5.32
2016-03-17T03:19:35+01:00
Output for 5.5.31
2016-03-20T17:11:33+01:00
Output for 5.5.30
2016-04-01T03:08:37+02:00
Output for 5.5.29
2016-04-16T21:32:13+02:00
Output for 5.5.28
2016-04-21T00:22:10+02:00
Output for 5.5.27
2016-04-22T02:46:26+02:00
Output for 5.5.26
2016-04-26T08:26:07+02:00
Output for 5.5.25
2016-04-28T14:44:33+02:00
Output for 5.5.24
2016-05-23T22:05:36+02:00
Output for 5.4.45
2015-09-21T14:08:43+02:00
Output for 5.4.44
2015-09-21T14:08:38+02:00
Output for 5.4.43
2015-07-31T04:49:28+02:00
Output for 5.4.42
2015-07-31T04:49:27+02:00
Output for 5.4.41
2015-07-31T04:49:25+02:00
Output for 5.4.40
2015-07-31T04:49:22+02:00
Output for 5.4.39
2015-07-31T04:49:21+02:00
Output for 5.4.38
2015-03-15T01:57:47+01:00
Output for 5.4.35 - 5.4.37
2015-03-15T01:57:40+01:00
Output for 5.4.34
2015-03-15T01:57:39+01:00
Output for 5.4.19 - 5.4.32
2014-09-23T17:50:06+02:00
Output for 5.4.3 - 5.4.18
2014-09-23T17:50:07+02:00
Output for 5.4.0 - 5.4.2
2014-09-23T17:50:08+02:00
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/4eHMp on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/4eHMp on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/4eHMp on line 3
Process exited with code 255.