3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime(); echo $date->format('U = Y-m-d H:i:s') . "\n"; ?>
based on H93GW
Output for 5.6.28, 7.0.20 - 7.2.0
1451363200 = 2015-12-29 05:26:40
Output for 7.0.6
1463828883 = 2016-05-21 13:08:03
Output for 7.0.5
1459667504 = 2016-04-03 09:11:44
Output for 7.0.4
1457641062 = 2016-03-10 21:17:42
Output for 7.0.3
1458337190 = 2016-03-18 22:39:50
Output for 7.0.2
1458705195 = 2016-03-23 04:53:15
Output for 7.0.1
1458802920 = 2016-03-24 08:02:00
Output for 7.0.0
1459065318 = 2016-03-27 09:55:18
Output for 5.6.21
1462197854 = 2016-05-02 16:04:14
Output for 5.6.20
1460268813 = 2016-04-10 08:13:33
Output for 5.6.19
1457411118 = 2016-03-08 05:25:18
Output for 5.6.18
1458048073 = 2016-03-15 14:21:13
Output for 5.6.17
1458435200 = 2016-03-20 01:53:20
Output for 5.6.16
1459154690 = 2016-03-28 10:44:50
Output for 5.6.15
1459244031 = 2016-03-29 11:33:51
Output for 5.6.14
1460646970 = 2016-04-14 17:16:10
Output for 5.6.13
1460735707 = 2016-04-15 17:55:07
Output for 5.6.12
1461133452 = 2016-04-20 08:24:12
Output for 5.6.11
1461502195 = 2016-04-24 14:49:55
Output for 5.6.10
1461596135 = 2016-04-25 16:55:35
Output for 5.6.9
1461787979 = 2016-04-27 22:12:59
Output for 5.6.8
1461991953 = 2016-04-30 06:52:33
Output for 5.5.35
1463960398 = 2016-05-23 01:39:58
Output for 5.5.34
1460363225 = 2016-04-11 10:27:05
Output for 5.5.33
1457508261 = 2016-03-09 08:24:21
Output for 5.5.32
1458235028 = 2016-03-17 18:17:08
Output for 5.5.31
1458532915 = 2016-03-21 05:01:55
Output for 5.5.30
1459509973 = 2016-04-01 13:26:13
Output for 5.5.29
1460873586 = 2016-04-17 08:13:06
Output for 5.5.28
1461231748 = 2016-04-21 11:42:28
Output for 5.5.27
1461324112 = 2016-04-22 13:21:52
Output for 5.5.26
1461692171 = 2016-04-26 19:36:11
Output for 5.5.25
1461891625 = 2016-04-29 03:00:25
Output for 5.5.24
1464074743 = 2016-05-24 09:25:43
Output for 5.4.45
1451363203 = 2015-12-29 05:26:43
Output for 5.4.44
1451363204 = 2015-12-29 05:26:44
Output for 5.4.41 - 5.4.43
1451363205 = 2015-12-29 05:26:45
Output for 5.4.38 - 5.4.40
1451363206 = 2015-12-29 05:26:46
Output for 5.4.35 - 5.4.37
1451363207 = 2015-12-29 05:26:47
Output for 5.3.29, 5.4.29 - 5.4.34
1451363208 = 2015-12-29 05:26:48
Output for 5.4.24 - 5.4.28
1451363209 = 2015-12-29 05:26:49
Output for 5.3.28, 5.4.18 - 5.4.23
1451363210 = 2015-12-29 05:26:50
Output for 5.3.23 - 5.3.27, 5.4.13 - 5.4.17
1451363211 = 2015-12-29 05:26:51
Output for 5.3.21 - 5.3.22, 5.4.11 - 5.4.12
1451363212 = 2015-12-29 05:26:52