3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((new \DateTime("now"))->format('Y-m-d\TH:i:s.uP'));
based on S8UUO
Output for 7.2.0
string(32) "2015-12-09T14:16:17.004019+01:00"
Output for 7.1.10
string(32) "2015-12-09T14:16:17.003572+01:00"
Output for 7.1.7
string(32) "2015-12-09T14:16:17.003261+01:00"
Output for 7.1.6
string(32) "2015-12-09T14:16:17.013134+01:00"
Output for 7.1.5
string(32) "2015-12-09T14:16:17.012327+01:00"
Output for 7.1.0
string(32) "2015-12-09T14:16:17.003899+01:00"
Output for 5.6.28, 7.0.20
string(32) "2015-12-09T14:16:17.000000+01:00"
Output for 7.0.6
string(32) "2016-05-03T20:14:25.000000+02:00"
Output for 7.0.5
string(32) "2016-04-03T08:32:44.000000+02:00"
Output for 7.0.4
string(32) "2016-03-10T20:30:24.000000+01:00"
Output for 7.0.3
string(32) "2016-03-18T21:53:02.000000+01:00"
Output for 7.0.2
string(32) "2016-03-23T04:07:27.000000+01:00"
Output for 7.0.1
string(32) "2016-03-24T07:20:56.000000+01:00"
Output for 7.0.0
string(32) "2016-03-27T09:15:05.000000+02:00"
Output for 5.6.21
string(32) "2016-05-02T15:23:02.000000+02:00"
Output for 5.6.20
string(32) "2016-04-10T07:34:13.000000+02:00"
Output for 5.6.19
string(32) "2016-03-08T04:42:45.000000+01:00"
Output for 5.6.18
string(32) "2016-03-15T13:34:15.000000+01:00"
Output for 5.6.17
string(32) "2016-03-20T01:08:47.000000+01:00"
Output for 5.6.16
string(32) "2016-03-28T10:04:08.000000+02:00"
Output for 5.6.15
string(32) "2016-03-29T10:53:21.000000+02:00"
Output for 5.6.14
string(32) "2016-04-14T16:34:19.000000+02:00"
Output for 5.6.13
string(32) "2016-04-15T17:14:51.000000+02:00"
Output for 5.6.12
string(32) "2016-04-20T07:42:08.000000+02:00"
Output for 5.6.11
string(32) "2016-04-24T14:07:26.000000+02:00"
Output for 5.6.10
string(32) "2016-04-25T16:11:49.000000+02:00"
Output for 5.6.9
string(32) "2016-04-27T21:20:01.000000+02:00"
Output for 5.6.8
string(32) "2016-04-30T06:09:56.000000+02:00"
Output for 5.5.35
string(32) "2016-05-23T00:27:20.000000+02:00"
Output for 5.5.34
string(32) "2016-04-11T09:45:57.000000+02:00"
Output for 5.5.33
string(32) "2016-03-09T07:37:40.000000+01:00"
Output for 5.5.32
string(32) "2016-03-17T17:28:53.000000+01:00"
Output for 5.5.31
string(32) "2016-03-21T04:15:11.000000+01:00"
Output for 5.5.30
string(32) "2016-04-01T12:45:37.000000+02:00"
Output for 5.5.29
string(32) "2016-04-17T07:32:29.000000+02:00"
Output for 5.5.28
string(32) "2016-04-21T10:59:15.000000+02:00"
Output for 5.5.27
string(32) "2016-04-22T12:40:29.000000+02:00"
Output for 5.5.26
string(32) "2016-04-26T18:51:23.000000+02:00"
Output for 5.5.25
string(32) "2016-04-29T02:16:24.000000+02:00"
Output for 5.5.24
string(32) "2016-05-24T08:38:41.000000+02:00"
Output for 5.4.45
string(32) "2015-12-09T14:16:26.000000+01:00"
Output for 5.4.44
string(32) "2015-12-09T14:16:27.000000+01:00"
Output for 5.4.43
string(32) "2015-12-09T14:16:32.000000+01:00"
Output for 5.4.42
string(32) "2015-12-09T14:16:33.000000+01:00"
Output for 5.4.41
string(32) "2015-12-09T14:16:35.000000+01:00"
Output for 5.4.40
string(32) "2015-12-09T14:16:36.000000+01:00"
Output for 5.4.39
string(32) "2015-12-09T14:16:38.000000+01:00"
Output for 5.4.38
string(32) "2015-12-09T14:16:39.000000+01:00"
Output for 5.4.37
string(32) "2015-12-09T14:16:40.000000+01:00"
Output for 5.4.35 - 5.4.36
string(32) "2015-12-09T14:16:41.000000+01:00"
Output for 5.4.34
string(32) "2015-12-09T14:16:42.000000+01:00"
Output for 5.4.31 - 5.4.32
string(32) "2015-12-09T14:16:44.000000+01:00"
Output for 5.4.28 - 5.4.30
string(32) "2015-12-09T14:16:45.000000+01:00"
Output for 5.4.26 - 5.4.27
string(32) "2015-12-09T14:16:46.000000+01:00"
Output for 5.4.24 - 5.4.25
string(32) "2015-12-09T14:16:47.000000+01:00"
Output for 5.4.23
string(32) "2015-12-09T14:16:48.000000+01:00"
Output for 5.4.20 - 5.4.22
string(32) "2015-12-09T14:16:49.000000+01:00"
Output for 5.4.18 - 5.4.19
string(32) "2015-12-09T14:16:50.000000+01:00"
Output for 5.4.17
string(32) "2015-12-09T14:16:51.000000+01:00"
Output for 5.4.16
string(32) "2015-12-09T14:16:52.000000+01:00"
Output for 5.4.13 - 5.4.15
string(32) "2015-12-09T14:16:53.000000+01:00"
Output for 5.4.12
string(32) "2015-12-09T14:16:54.000000+01:00"
Output for 5.4.10 - 5.4.11
string(32) "2015-12-09T14:16:55.000000+01:00"
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/Haomp on line 3
Process exited with code 255.