3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('d:m:Y H:i:s');
Output for 5.6.28, 7.0.20 - 7.2.0
03:11:2015 10:42:22
Output for 7.0.6
03:05:2016 18:10:01
Output for 7.0.5
03:04:2016 06:36:22
Output for 7.0.4
10:03:2016 18:22:02
Output for 7.0.3
18:03:2016 19:27:32
Output for 7.0.2
23:03:2016 01:35:32
Output for 7.0.1
24:03:2016 05:17:51
Output for 7.0.0
27:03:2016 07:14:18
Output for 5.6.21
02:05:2016 13:19:43
Output for 5.6.20
10:04:2016 05:35:37
Output for 5.6.19
08:03:2016 02:32:33
Output for 5.6.18
15:03:2016 11:15:20
Output for 5.6.17
19:03:2016 22:55:19
Output for 5.6.16
28:03:2016 08:01:25
Output for 5.6.15
29:03:2016 08:52:11
Output for 5.6.14
02:04:2016 10:44:35
Output for 5.6.13
15:04:2016 15:06:54
Output for 5.6.12
20:04:2016 05:35:43
Output for 5.6.11
24:04:2016 11:51:38
Output for 5.6.10
25:04:2016 14:00:40
Output for 5.6.9
27:04:2016 19:10:46
Output for 5.6.8
30:04:2016 04:03:57
Output for 5.5.35
22:05:2016 19:47:19
Output for 5.5.34
11:04:2016 07:47:28
Output for 5.5.33
09:03:2016 05:12:06
Output for 5.5.32
17:03:2016 14:54:59
Output for 5.5.31
21:03:2016 01:55:04
Output for 5.5.30
01:04:2016 10:45:53
Output for 5.5.29
17:04:2016 05:30:34
Output for 5.5.28
21:04:2016 08:49:04
Output for 5.5.27
22:04:2016 10:36:45
Output for 5.5.26
26:04:2016 16:43:51
Output for 5.5.25
28:04:2016 23:34:45
Output for 5.5.24
24:05:2016 06:09:07
Output for 5.4.36 - 5.4.45
03:11:2015 10:42:32
Output for 5.4.26 - 5.4.35
03:11:2015 10:42:33
Output for 5.4.15 - 5.4.25
03:11:2015 10:42:34
Output for 5.4.3 - 5.4.14
03:11:2015 10:42:35
Output for 5.4.0 - 5.4.2
03:11:2015 10:42:36
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/iYVSh on line 3
Process exited with code 255.