3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((new \DateTime())->format('Y-m-d\TH:i:s.uP'));
Output for 7.2.0
string(32) "2015-12-09T14:13:50.003850+01:00"
Output for 7.1.10
string(32) "2015-12-09T14:13:50.002698+01:00"
Output for 7.1.7
string(32) "2015-12-09T14:13:50.002498+01:00"
Output for 7.1.6
string(32) "2015-12-09T14:13:50.013382+01:00"
Output for 7.1.5
string(32) "2015-12-09T14:13:50.013298+01:00"
Output for 7.1.0
string(32) "2015-12-09T14:13:50.003965+01:00"
Output for 5.6.28, 7.0.20
string(32) "2015-12-09T14:13:50.000000+01:00"
Output for 7.0.6
string(32) "2016-05-03T20:14:30.000000+02:00"
Output for 7.0.5
string(32) "2016-04-03T08:32:50.000000+02:00"
Output for 7.0.4
string(32) "2016-03-10T20:30:26.000000+01:00"
Output for 7.0.3
string(32) "2016-03-18T21:53:04.000000+01:00"
Output for 7.0.2
string(32) "2016-03-23T04:07:30.000000+01:00"
Output for 7.0.1
string(32) "2016-03-24T07:20:58.000000+01:00"
Output for 7.0.0
string(32) "2016-03-27T09:15:07.000000+02:00"
Output for 5.6.21
string(32) "2016-05-02T15:23:06.000000+02:00"
Output for 5.6.20
string(32) "2016-04-10T07:34:18.000000+02:00"
Output for 5.6.19
string(32) "2016-03-08T04:42:47.000000+01:00"
Output for 5.6.18
string(32) "2016-03-15T13:34:18.000000+01:00"
Output for 5.6.17
string(32) "2016-03-20T01:08:49.000000+01:00"
Output for 5.6.16
string(32) "2016-03-28T10:04:04.000000+02:00"
Output for 5.6.15
string(32) "2016-03-29T10:53:16.000000+02:00"
Output for 5.6.14
string(32) "2016-04-14T16:34:25.000000+02:00"
Output for 5.6.13
string(32) "2016-04-15T17:14:56.000000+02:00"
Output for 5.6.12
string(32) "2016-04-20T07:42:14.000000+02:00"
Output for 5.6.11
string(32) "2016-04-24T14:07:31.000000+02:00"
Output for 5.6.10
string(32) "2016-04-25T16:11:56.000000+02:00"
Output for 5.6.9
string(32) "2016-04-27T21:20:06.000000+02:00"
Output for 5.6.8
string(32) "2016-04-30T06:10:02.000000+02:00"
Output for 5.5.35
string(32) "2016-05-23T00:27:39.000000+02:00"
Output for 5.5.34
string(32) "2016-04-11T09:46:02.000000+02:00"
Output for 5.5.33
string(32) "2016-03-09T07:37:43.000000+01:00"
Output for 5.5.32
string(32) "2016-03-17T17:28:56.000000+01:00"
Output for 5.5.31
string(32) "2016-03-21T04:15:13.000000+01:00"
Output for 5.5.30
string(32) "2016-04-01T12:45:43.000000+02:00"
Output for 5.5.29
string(32) "2016-04-17T07:32:34.000000+02:00"
Output for 5.5.28
string(32) "2016-04-21T10:59:21.000000+02:00"
Output for 5.5.27
string(32) "2016-04-22T12:40:34.000000+02:00"
Output for 5.5.26
string(32) "2016-04-26T18:51:29.000000+02:00"
Output for 5.5.25
string(32) "2016-04-29T02:16:30.000000+02:00"
Output for 5.5.24
string(32) "2016-05-24T08:39:07.000000+02:00"
Output for 5.4.45
string(32) "2015-12-09T14:13:54.000000+01:00"
Output for 5.4.44
string(32) "2015-12-09T14:13:55.000000+01:00"
Output for 5.4.43
string(32) "2015-12-09T14:13:58.000000+01:00"
Output for 5.4.42
string(32) "2015-12-09T14:13:59.000000+01:00"
Output for 5.4.41
string(32) "2015-12-09T14:14:00.000000+01:00"
Output for 5.4.40
string(32) "2015-12-09T14:14:01.000000+01:00"
Output for 5.4.39
string(32) "2015-12-09T14:14:02.000000+01:00"
Output for 5.4.38
string(32) "2015-12-09T14:14:03.000000+01:00"
Output for 5.4.37
string(32) "2015-12-09T14:14:04.000000+01:00"
Output for 5.4.36
string(32) "2015-12-09T14:14:05.000000+01:00"
Output for 5.4.35
string(32) "2015-12-09T14:14:06.000000+01:00"
Output for 5.4.34
string(32) "2015-12-09T14:14:07.000000+01:00"
Output for 5.4.31 - 5.4.32
string(32) "2015-12-09T14:14:08.000000+01:00"
Output for 5.4.29 - 5.4.30
string(32) "2015-12-09T14:14:09.000000+01:00"
Output for 5.4.27 - 5.4.28
string(32) "2015-12-09T14:14:10.000000+01:00"
Output for 5.4.25 - 5.4.26
string(32) "2015-12-09T14:14:11.000000+01:00"
Output for 5.4.23 - 5.4.24
string(32) "2015-12-09T14:14:12.000000+01:00"
Output for 5.4.21 - 5.4.22
string(32) "2015-12-09T14:14:13.000000+01:00"
Output for 5.4.19 - 5.4.20
string(32) "2015-12-09T14:14:14.000000+01:00"
Output for 5.4.17 - 5.4.18
string(32) "2015-12-09T14:14:15.000000+01:00"
Output for 5.4.14 - 5.4.16
string(32) "2015-12-09T14:14:16.000000+01:00"
Output for 5.4.12 - 5.4.13
string(32) "2015-12-09T14:14:17.000000+01:00"
Output for 5.4.10 - 5.4.11
string(32) "2015-12-09T14:14:18.000000+01:00"
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/S8UUO on line 3
Process exited with code 255.