3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((new \DateTime('Europe/Moscow'))->format(\DateTime::ISO8601));
based on RcLv9
Output for 5.6.28, 7.0.20 - 7.2.0
string(24) "2015-10-18T11:34:13+0300"
Output for 7.0.6
string(24) "2016-05-03T13:10:18+0300"
Output for 7.0.5
string(24) "2016-04-03T01:54:19+0300"
Output for 7.0.4
string(24) "2016-03-10T13:36:54+0300"
Output for 7.0.3
string(24) "2016-03-18T14:20:21+0300"
Output for 7.0.2
string(24) "2016-03-22T20:18:05+0300"
Output for 7.0.1
string(24) "2016-03-24T00:41:38+0300"
Output for 7.0.0
string(24) "2016-03-27T02:11:13+0300"
Output for 5.6.21
string(24) "2016-05-02T08:23:45+0300"
Output for 5.6.20
string(24) "2016-04-10T00:45:22+0300"
Output for 5.6.19
string(24) "2016-03-07T21:38:59+0300"
Output for 5.6.18
string(24) "2016-03-15T06:12:48+0300"
Output for 5.6.17
string(24) "2016-03-19T18:29:17+0300"
Output for 5.6.16
string(24) "2016-03-28T03:08:58+0300"
Output for 5.6.15
string(24) "2016-03-29T04:04:33+0300"
Output for 5.6.14
string(24) "2016-04-02T06:16:09+0300"
Output for 5.6.13
string(24) "2016-04-15T10:15:07+0300"
Output for 5.6.12
string(24) "2016-04-20T00:12:23+0300"
Output for 5.6.11
string(24) "2016-04-23T07:08:32+0300"
Output for 5.6.10
string(24) "2016-04-25T08:54:59+0300"
Output for 5.6.9
string(24) "2016-04-27T13:58:43+0300"
Output for 5.6.8
string(24) "2016-04-29T22:09:07+0300"
Output for 5.5.35
string(24) "2016-05-22T12:10:08+0300"
Output for 5.5.34
string(24) "2016-04-11T03:06:40+0300"
Output for 5.5.33
string(24) "2016-03-09T00:37:12+0300"
Output for 5.5.32
string(24) "2016-03-17T08:10:38+0300"
Output for 5.5.31
string(24) "2016-03-20T21:12:43+0300"
Output for 5.5.30
string(24) "2016-04-01T05:59:05+0300"
Output for 5.5.29
string(24) "2016-04-17T00:23:04+0300"
Output for 5.5.28
string(24) "2016-04-21T03:32:13+0300"
Output for 5.5.27
string(24) "2016-04-22T05:49:22+0300"
Output for 5.5.26
string(24) "2016-04-26T11:27:04+0300"
Output for 5.5.25
string(24) "2016-04-28T17:53:34+0300"
Output for 5.5.24
string(24) "2016-05-24T01:00:49+0300"
Output for 5.4.41 - 5.4.45
string(24) "2015-10-18T11:34:22+0300"
Output for 5.4.34 - 5.4.40
string(24) "2015-10-18T11:34:23+0300"
Output for 5.4.32
string(24) "2015-10-18T12:34:23+0400"
Output for 5.4.24 - 5.4.31
string(24) "2015-10-18T12:34:24+0400"
Output for 5.4.16 - 5.4.23
string(24) "2015-10-18T12:34:25+0400"
Output for 5.4.8 - 5.4.15
string(24) "2015-10-18T12:34:26+0400"
Output for 5.4.3 - 5.4.7
string(24) "2015-10-18T12:34:27+0400"
Output for 5.4.0 - 5.4.2
string(24) "2015-10-18T12:34:28+0400"
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/Ga0GV on line 3
Process exited with code 255.