3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo ((new \DateTime('now'))->format('Y-m-d\TH:i:sO'));
based on EABlV
Output for 5.6.28, 7.0.14 - 7.1.0
2014-09-30T08:55:47+0200
Output for 7.0.6
2016-05-03T03:25:47+0200
Output for 7.0.5
2016-04-02T16:38:58+0200
Output for 7.0.4
2016-03-10T02:17:53+0100
Output for 7.0.3
2016-03-18T02:30:30+0100
Output for 7.0.2
2016-03-21T13:04:12+0100
Output for 7.0.1
2016-03-23T13:16:48+0100
Output for 7.0.0
2016-03-26T15:40:08+0100
Output for hhvm-3.12.0
2016-03-11T08:03:51+0100
Output for hhvm-3.10.0
2016-03-29T21:40:08+0200
Output for 5.6.21
2016-05-01T22:28:34+0200
Output for 5.6.20
2016-04-09T11:52:00+0200
Output for 5.6.19
2016-03-07T01:00:21+0100
Output for 5.6.18
2016-03-14T12:55:47+0100
Output for 5.6.17
2016-03-19T06:58:56+0100
Output for 5.6.16
2016-03-27T17:25:26+0200
Output for 5.6.15
2016-03-28T18:18:07+0200
Output for 5.6.14
2016-04-01T20:53:47+0200
Output for 5.6.13
2016-04-15T00:51:05+0200
Output for 5.6.12
2016-04-19T13:55:25+0200
Output for 5.6.11
2016-04-22T21:12:20+0200
Output for 5.6.10
2016-04-24T22:50:26+0200
Output for 5.6.9
2016-04-27T04:02:34+0200
Output for 5.6.8
2016-04-29T11:45:35+0200
Output for 5.6.7
2016-05-24T23:08:09+0200
Output for 5.5.35
2016-05-22T01:52:45+0200
Output for 5.5.34
2016-04-10T17:49:05+0200
Output for 5.5.33
2016-03-08T13:10:02+0100
Output for 5.5.32
2016-03-16T18:53:00+0100
Output for 5.5.31
2016-03-20T09:50:49+0100
Output for 5.5.30
2016-03-31T20:19:31+0200
Output for 5.5.29
2016-04-16T14:51:51+0200
Output for 5.5.28
2016-04-20T17:13:25+0200
Output for 5.5.27
2016-04-21T19:41:11+0200
Output for 5.5.26
2016-04-26T01:19:36+0200
Output for 5.5.25
2016-04-28T07:20:10+0200
Output for 5.5.24
2016-04-30T14:45:09+0200
Output for 5.4.45
2015-09-21T14:31:20+0200
Output for 5.4.44
2015-09-21T14:31:04+0200
Output for 5.4.43
2015-09-21T14:30:41+0200
Output for 5.4.42
2015-09-21T14:30:32+0200
Output for 5.4.41
2015-09-21T14:30:21+0200
Output for 5.4.40
2015-09-21T14:30:10+0200
Output for 5.4.39
2015-09-21T14:30:01+0200
Output for 5.4.38
2015-03-15T08:35:31+0100
Output for 5.4.37
2015-03-15T08:35:24+0100
Output for 5.4.34 - 5.4.36
2015-03-15T08:35:23+0100
Output for 5.4.13 - 5.4.32
2014-09-30T08:55:51+0200
Output for 5.4.0 - 5.4.12
2014-09-30T08:55:52+0200
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/ngAnG on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ngAnG on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/ngAnG on line 2
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
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ngAnG on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/ngAnG on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ngAnG on line 2 Parse error: parse error in /in/ngAnG on line 2
Process exited with code 255.