3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime)->modify('+3600 seconds')->format(DateTime::ISO8601);
Output for 5.6.28, 7.0.20 - 7.2.0
2015-11-01T16:12:14+0100
Output for 7.0.6
2016-05-03T19:05:31+0200
Output for 7.0.5
2016-04-03T07:32:08+0200
Output for 7.0.4
2016-03-10T19:17:30+0100
Output for 7.0.3
2016-03-18T20:21:06+0100
Output for 7.0.2
2016-03-23T02:30:34+0100
Output for 7.0.1
2016-03-24T06:13:26+0100
Output for 7.0.0
2016-03-27T08:10:04+0200
Output for 5.6.21
2016-05-02T14:15:18+0200
Output for 5.6.20
2016-04-10T06:31:19+0200
Output for 5.6.19
2016-03-08T03:27:59+0100
Output for 5.6.18
2016-03-15T12:10:33+0100
Output for 5.6.17
2016-03-19T23:50:43+0100
Output for 5.6.16
2016-03-28T08:57:07+0200
Output for 5.6.15
2016-03-29T09:47:58+0200
Output for 5.6.14
2016-04-02T11:40:35+0200
Output for 5.6.13
2016-04-15T16:02:06+0200
Output for 5.6.12
2016-04-20T06:30:58+0200
Output for 5.6.11
2016-04-24T12:46:58+0200
Output for 5.6.10
2016-04-25T14:56:11+0200
Output for 5.6.9
2016-04-27T20:06:05+0200
Output for 5.6.8
2016-04-30T04:59:07+0200
Output for 5.5.35
2016-05-22T20:41:51+0200
Output for 5.5.34
2016-04-11T08:43:19+0200
Output for 5.5.33
2016-03-09T06:06:46+0100
Output for 5.5.32
2016-03-17T15:48:09+0100
Output for 5.5.31
2016-03-21T02:50:08+0100
Output for 5.5.30
2016-04-01T11:41:33+0200
Output for 5.5.29
2016-04-17T06:26:08+0200
Output for 5.5.28
2016-04-21T09:44:19+0200
Output for 5.5.27
2016-04-22T11:32:33+0200
Output for 5.5.26
2016-04-26T17:39:16+0200
Output for 5.5.25
2016-04-29T00:30:13+0200
Output for 5.5.24
2016-05-24T07:05:01+0200
Output for 5.4.43 - 5.4.45
2015-11-01T16:12:26+0100
Output for 5.4.38 - 5.4.42
2015-11-01T16:12:27+0100
Output for 5.4.32 - 5.4.37
2015-11-01T16:12:28+0100
Output for 5.4.27 - 5.4.31
2015-11-01T16:12:29+0100
Output for 5.4.22 - 5.4.26
2015-11-01T16:12:30+0100
Output for 5.4.17 - 5.4.21
2015-11-01T16:12:31+0100
Output for 5.4.12 - 5.4.16
2015-11-01T16:12:32+0100
Output for 5.4.5 - 5.4.11
2015-11-01T16:12:33+0100
Output for 5.4.0 - 5.4.4
2015-11-01T16:12:34+0100
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/HEKHJ on line 3
Process exited with code 255.