3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strftime("%Y-%m-%d %H:%M:%S", strtotime("+2 days 3600 seconds"));
Output for 5.6.28, 7.0.12 - 7.1.0
2013-09-21 16:49:28
Output for 7.0.6
2016-05-05 01:53:57
Output for 7.0.5
2016-04-04 15:15:46
Output for 7.0.4
2016-03-12 00:15:16
Output for 7.0.3
2016-03-20 00:40:21
Output for 7.0.2
2016-03-23 11:22:26
Output for 7.0.1
2016-03-25 11:01:51
Output for 7.0.0
2016-03-28 14:05:12
Output for 5.6.21
2016-05-03 20:59:24
Output for 5.6.20
2016-04-11 10:30:56
Output for 5.6.19
2016-03-08 21:43:32
Output for 5.6.18
2016-03-16 10:11:18
Output for 5.6.17
2016-03-21 05:15:38
Output for 5.6.16
2016-03-29 15:49:40
Output for 5.6.15
2016-03-30 16:48:38
Output for 5.6.14
2016-04-03 19:30:14
Output for 5.6.13
2016-04-16 23:25:31
Output for 5.6.12
2016-04-21 12:30:00
Output for 5.6.11
2016-04-24 19:47:44
Output for 5.6.10
2016-04-26 21:26:28
Output for 5.6.9
2016-04-29 02:31:33
Output for 5.6.8
2016-05-01 10:05:52
Output for 5.6.7
2016-05-26 20:00:36
Output for 5.5.35
2016-05-24 00:02:51
Output for 5.5.34
2016-04-12 16:20:49
Output for 5.5.33
2016-03-10 11:28:43
Output for 5.5.32
2016-03-17 20:28:41
Output for 5.5.31
2016-03-22 08:09:49
Output for 5.5.30
2016-04-02 18:52:23
Output for 5.5.29
2016-04-18 13:28:47
Output for 5.5.28
2016-04-22 15:40:05
Output for 5.5.27
2016-04-23 18:18:49
Output for 5.5.26
2016-04-27 23:41:09
Output for 5.5.25
2016-04-30 05:48:06
Output for 5.5.24
2016-05-02 13:26:11
Output for 5.4.45
2016-02-21 19:06:09
Output for 5.4.44
2016-02-21 19:06:10
Output for 5.4.42 - 5.4.43
2016-02-21 19:06:11
Output for 5.4.40 - 5.4.41
2016-02-21 19:06:12
Output for 5.4.37 - 5.4.39
2016-02-21 19:06:13
Output for 5.4.35 - 5.4.36
2016-02-21 19:06:14
Output for 5.3.29, 5.4.32 - 5.4.34
2016-02-21 19:06:15
Output for 5.4.28 - 5.4.31
2016-02-21 19:06:16
Output for 5.4.25 - 5.4.27
2016-02-21 19:06:17
Output for 5.3.28, 5.4.21 - 5.4.24
2016-02-21 19:06:18
Output for 5.4.18 - 5.4.20
2016-02-21 19:06:19
Output for 5.3.25 - 5.3.27, 5.4.15 - 5.4.17
2016-02-21 19:06:20
Output for 5.3.21 - 5.3.24, 5.4.11 - 5.4.14
2016-02-21 19:06:21
Output for 5.3.17 - 5.3.20, 5.4.8 - 5.4.10
2016-02-21 19:06:22
Output for 5.3.14 - 5.3.16, 5.4.3 - 5.4.7
2016-02-21 19:06:23
Output for 5.3.9 - 5.3.13, 5.4.0 - 5.4.2
2016-02-21 19:06:24
Output for 5.2.15 - 5.2.17, 5.3.4 - 5.3.8
2016-02-21 19:06:25
Output for 5.2.11 - 5.2.14, 5.3.0 - 5.3.3
2016-02-21 19:06:26
Output for 4.4.8 - 4.4.9, 5.2.5 - 5.2.10
2016-02-21 19:06:27
Output for 4.4.5 - 4.4.7, 5.1.6 - 5.2.4
2016-02-21 19:06:28
Output for 4.4.1 - 4.4.4, 5.1.0 - 5.1.5
2016-02-21 19:06:29
Output for 4.3.9 - 4.4.0, 5.0.3 - 5.0.5
2016-02-21 19:06:30
Output for 5.0.0 - 5.0.2
2016-02-21 01:00:00
Output for 4.3.1 - 4.3.8
2016-02-21 19:06:31
Output for 4.3.0
2016-02-21 19:06:32