3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime('now'))->modify('+1 day')->format('Y-m-d H:i:s');
Output for 5.6.28, 7.0.20 - 7.2.0
2015-11-13 12:34:42
Output for 7.0.6
2016-05-04 18:43:57
Output for 7.0.5
2016-04-04 07:08:38
Output for 7.0.4
2016-03-11 18:56:11
Output for 7.0.3
2016-03-19 20:08:33
Output for 7.0.2
2016-03-24 02:15:14
Output for 7.0.1
2016-03-25 05:51:16
Output for 7.0.0
2016-03-28 07:47:10
Output for 5.6.21
2016-05-03 13:52:49
Output for 5.6.20
2016-04-11 06:07:54
Output for 5.6.19
2016-03-09 03:08:17
Output for 5.6.18
2016-03-16 11:52:39
Output for 5.6.17
2016-03-20 23:31:02
Output for 5.6.16
2016-03-29 08:34:19
Output for 5.6.15
2016-03-30 09:25:08
Output for 5.6.14
2016-04-03 11:15:27
Output for 5.6.13
2016-04-16 15:41:42
Output for 5.6.12
2016-04-21 06:10:28
Output for 5.6.11
2016-04-25 12:33:39
Output for 5.6.10
2016-04-26 14:35:54
Output for 5.6.9
2016-04-28 19:45:45
Output for 5.6.8
2016-05-01 04:37:37
Output for 5.5.35
2016-05-23 21:30:46
Output for 5.5.34
2016-04-12 08:19:31
Output for 5.5.33
2016-03-10 05:53:10
Output for 5.5.32
2016-03-18 15:47:21
Output for 5.5.31
2016-03-22 02:33:44
Output for 5.5.30
2016-04-02 11:18:52
Output for 5.5.29
2016-04-18 06:04:07
Output for 5.5.28
2016-04-22 09:24:47
Output for 5.5.27
2016-04-23 11:10:26
Output for 5.5.26
2016-04-27 17:18:45
Output for 5.5.25
2016-04-30 00:14:39
Output for 5.5.24
2016-05-25 06:43:31
Output for 5.4.45
2015-11-13 12:34:44
Output for 5.4.44
2015-11-13 12:34:46
Output for 5.4.41 - 5.4.43
2015-11-13 12:34:48
Output for 5.4.40
2015-11-13 12:34:49
Output for 5.4.38 - 5.4.39
2015-11-13 12:34:50
Output for 5.4.35 - 5.4.37
2015-11-13 12:34:51
Output for 5.4.34
2015-11-13 12:34:52
Output for 5.4.29 - 5.4.32
2015-11-13 12:34:53
Output for 5.4.27 - 5.4.28
2015-11-13 12:34:54
Output for 5.4.24 - 5.4.26
2015-11-13 12:34:55
Output for 5.4.23
2015-11-13 12:34:56
Output for 5.4.20 - 5.4.22
2015-11-13 12:34:57
Output for 5.4.18 - 5.4.19
2015-11-13 12:34:58
Output for 5.4.15 - 5.4.17
2015-11-13 12:34:59
Output for 5.4.12 - 5.4.14
2015-11-13 12:35:00
Output for 5.4.11
2015-11-13 12:35:01
Output for 5.4.9 - 5.4.10
2015-11-13 12:35:02
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/VmpEt on line 3
Process exited with code 255.