3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Y-m-d TH:i:s');
based on EABlV
Output for 5.6.28, 7.0.20 - 7.2.0
2015-10-21 CEST15:19:09
Output for 7.0.6
2016-05-03 CEST00:26:40
Output for 7.0.5
2016-04-02 CEST14:00:05
Output for 7.0.4
2016-03-09 CET22:57:02
Output for 7.0.3
2016-03-17 CET23:22:01
Output for 7.0.2
2016-03-21 CET10:04:52
Output for 7.0.1
2016-03-23 CET09:43:57
Output for 7.0.0
2016-03-26 CET12:49:26
Output for 5.6.21
2016-05-01 CEST19:32:21
Output for 5.6.20
2016-04-09 CEST09:15:52
Output for 5.6.19
2016-03-06 CET20:20:49
Output for 5.6.18
2016-03-14 CET08:35:51
Output for 5.6.17
2016-03-19 CET03:57:31
Output for 5.6.16
2016-03-27 CEST14:33:33
Output for 5.6.15
2016-03-28 CEST15:30:58
Output for 5.6.14
2016-04-01 CEST18:14:28
Output for 5.6.13
2016-04-14 CEST22:11:30
Output for 5.6.12
2016-04-19 CEST11:15:08
Output for 5.6.11
2016-04-22 CEST18:33:29
Output for 5.6.10
2016-04-24 CEST20:11:39
Output for 5.6.9
2016-04-27 CEST01:16:05
Output for 5.6.8
2016-04-29 CEST08:50:18
Output for 5.6.7
2016-05-24 CEST18:40:28
Output for 5.5.35
2016-05-21 CEST22:45:24
Output for 5.5.34
2016-04-10 CEST14:52:16
Output for 5.5.33
2016-03-08 CET10:08:50
Output for 5.5.32
2016-03-15 CET19:10:17
Output for 5.5.31
2016-03-20 CET06:51:59
Output for 5.5.30
2016-03-31 CEST17:36:58
Output for 5.5.29
2016-04-16 CEST12:13:59
Output for 5.5.28
2016-04-20 CEST14:24:44
Output for 5.5.27
2016-04-21 CEST17:04:30
Output for 5.5.26
2016-04-25 CEST22:25:57
Output for 5.5.25
2016-04-28 CEST04:32:59
Output for 5.5.24
2016-04-30 CEST12:12:07
Output for 5.4.35 - 5.4.45
2015-10-21 CEST15:19:20
Output for 5.4.25 - 5.4.34
2015-10-21 CEST15:19:21
Output for 5.4.18 - 5.4.24
2015-10-21 CEST15:19:22
Output for 5.4.8 - 5.4.17
2015-10-21 CEST15:19:23
Output for 5.4.2 - 5.4.7
2015-10-21 CEST15:19:24
Output for 5.4.0 - 5.4.1
2015-10-21 CEST15:19:25
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/hmbV4 on line 2
Process exited with code 255.