3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $today = new \DateTime(); echo $today->format('Y-m-d h:i:s');
based on 49G1o
Output for 5.6.28, 7.0.20 - 7.2.0
2016-01-20 05:23:38
Output for 7.0.6
2016-05-21 02:05:40
Output for 7.0.5
2016-04-03 09:59:53
Output for 7.0.4
2016-03-10 10:07:57
Output for 7.0.3
2016-03-18 11:43:07
Output for 7.0.2
2016-03-23 05:50:36
Output for 7.0.1
2016-03-24 08:52:30
Output for 7.0.0
2016-03-27 10:45:23
Output for 5.6.21
2016-05-02 04:54:52
Output for 5.6.20
2016-04-10 09:02:24
Output for 5.6.19
2016-03-08 06:17:57
Output for 5.6.18
2016-03-15 03:17:16
Output for 5.6.17
2016-03-20 02:49:31
Output for 5.6.16
2016-03-28 11:35:07
Output for 5.6.15
2016-03-29 12:25:01
Output for 5.6.14
2016-04-14 06:07:33
Output for 5.6.13
2016-04-15 06:46:44
Output for 5.6.12
2016-04-20 09:17:17
Output for 5.6.11
2016-04-24 03:43:07
Output for 5.6.10
2016-04-25 05:48:46
Output for 5.6.9
2016-04-27 11:17:07
Output for 5.6.8
2016-04-30 07:42:58
Output for 5.5.35
2016-05-23 03:00:48
Output for 5.5.34
2016-04-11 11:17:11
Output for 5.5.33
2016-03-09 09:23:10
Output for 5.5.32
2016-03-17 07:16:34
Output for 5.5.31
2016-03-21 06:03:38
Output for 5.5.30
2016-04-01 02:16:04
Output for 5.5.29
2016-04-17 09:04:13
Output for 5.5.28
2016-04-21 12:36:43
Output for 5.5.27
2016-04-22 02:13:55
Output for 5.5.26
2016-04-26 08:30:21
Output for 5.5.25
2016-04-29 03:57:17
Output for 5.5.24
2016-05-24 10:28:56
Output for 5.4.45
2016-01-20 05:23:41
Output for 5.4.44
2016-01-20 05:23:42
Output for 5.4.41 - 5.4.43
2016-01-20 05:23:43
Output for 5.4.40
2016-01-20 05:23:44
Output for 5.4.38 - 5.4.39
2016-01-20 05:23:45
Output for 5.4.36 - 5.4.37
2016-01-20 05:23:46
Output for 5.4.34 - 5.4.35
2016-01-20 05:23:47
Output for 5.3.29, 5.4.31 - 5.4.32
2016-01-20 05:23:48
Output for 5.4.27 - 5.4.30
2016-01-20 05:23:49
Output for 5.4.24 - 5.4.26
2016-01-20 05:23:50
Output for 5.3.28, 5.4.21 - 5.4.23
2016-01-20 05:23:51
Output for 5.4.18 - 5.4.20
2016-01-20 05:23:52
Output for 5.3.25 - 5.3.27, 5.4.15 - 5.4.17
2016-01-20 05:23:53
Output for 5.3.22 - 5.3.24, 5.4.12 - 5.4.14
2016-01-20 05:23:54