3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime(); $date->modify('+10 minutes'); echo $date->format('Y-m-d H:i:s');
Output for 5.6.28, 7.0.20 - 7.2.0
2016-01-25 15:46:29
Output for 7.0.6
2016-05-21 14:28:56
Output for 7.0.5
2016-04-03 10:21:47
Output for 7.0.4
2016-03-10 22:30:25
Output for 7.0.3
2016-03-19 00:06:03
Output for 7.0.2
2016-03-23 06:13:11
Output for 7.0.1
2016-03-24 09:15:21
Output for 7.0.0
2016-03-27 11:06:35
Output for 5.6.21
2016-05-02 17:16:40
Output for 5.6.20
2016-04-10 09:23:45
Output for 5.6.19
2016-03-08 06:39:46
Output for 5.6.18
2016-03-15 15:40:06
Output for 5.6.17
2016-03-20 03:18:03
Output for 5.6.16
2016-03-28 11:56:25
Output for 5.6.15
2016-03-29 12:46:10
Output for 5.6.14
2016-04-14 18:29:05
Output for 5.6.13
2016-04-15 19:08:13
Output for 5.6.12
2016-04-20 09:39:07
Output for 5.6.11
2016-04-24 16:05:04
Output for 5.6.10
2016-04-25 18:10:17
Output for 5.6.9
2016-04-27 23:39:26
Output for 5.6.8
2016-04-30 08:05:30
Output for 5.5.35
2016-05-23 03:31:10
Output for 5.5.34
2016-04-11 11:38:13
Output for 5.5.33
2016-03-09 09:45:08
Output for 5.5.32
2016-03-17 19:40:16
Output for 5.5.31
2016-03-21 06:27:43
Output for 5.5.30
2016-04-01 14:37:06
Output for 5.5.29
2016-04-17 09:25:30
Output for 5.5.28
2016-04-21 12:59:08
Output for 5.5.27
2016-04-22 14:35:30
Output for 5.5.26
2016-04-26 20:52:50
Output for 5.5.25
2016-04-29 04:20:35
Output for 5.5.24
2016-05-24 10:51:08
Output for 5.4.44 - 5.4.45
2016-01-25 15:46:33
Output for 5.4.42 - 5.4.43
2016-01-25 15:46:34
Output for 5.4.40 - 5.4.41
2016-01-25 15:46:35
Output for 5.4.39
2016-01-25 15:46:36
Output for 5.4.36 - 5.4.38
2016-01-25 15:46:37
Output for 5.4.34 - 5.4.35
2016-01-25 15:46:38
Output for 5.3.29, 5.4.32
2016-01-25 15:46:39
Output for 5.4.29 - 5.4.31
2016-01-25 15:46:40
Output for 5.4.25 - 5.4.28
2016-01-25 15:46:41
Output for 5.3.28, 5.4.23 - 5.4.24
2016-01-25 15:46:42
Output for 5.4.19 - 5.4.22
2016-01-25 15:46:43
Output for 5.3.26 - 5.3.27, 5.4.17 - 5.4.18
2016-01-25 15:46:44
Output for 5.3.24 - 5.3.25, 5.4.13 - 5.4.16
2016-01-25 15:46:45
Output for 5.3.22 - 5.3.23, 5.4.12
2016-01-25 15:46:46