3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Y.m.d H:i:s');
Output for 5.6.28, 7.0.14 - 7.1.0
2015.01.23 11:46:05
Output for 7.0.6
2016.05.03 19:19:36
Output for 7.0.5
2016.04.03 07:41:55
Output for 7.0.4
2016.03.10 19:32:45
Output for 7.0.3
2016.03.18 20:49:04
Output for 7.0.2
2016.03.23 02:57:37
Output for 7.0.1
2016.03.24 06:26:11
Output for 7.0.0
2016.03.27 08:21:44
Output for hhvm-3.12.0
2016.03.13 11:43:30
Output for hhvm-3.10.0
2016.03.31 03:35:28
Output for 5.6.21
2016.05.02 14:28:30
Output for 5.6.20
2016.04.10 06:42:08
Output for 5.6.19
2016.03.08 03:45:03
Output for 5.6.18
2016.03.15 12:34:11
Output for 5.6.17
2016.03.20 00:09:06
Output for 5.6.16
2016.03.28 09:10:15
Output for 5.6.15
2016.03.29 10:00:00
Output for 5.6.14
2016.04.02 11:49:02
Output for 5.6.13
2016.04.15 16:19:25
Output for 5.6.12
2016.04.20 06:46:59
Output for 5.6.11
2016.04.24 13:10:50
Output for 5.6.10
2016.04.25 15:13:59
Output for 5.6.9
2016.04.27 20:23:14
Output for 5.6.8
2016.04.30 05:14:36
Output for 5.5.35
2016.05.22 22:37:47
Output for 5.5.34
2016.04.11 08:53:16
Output for 5.5.33
2016.03.09 06:33:53
Output for 5.5.32
2016.03.17 16:24:16
Output for 5.5.31
2016.03.21 03:13:26
Output for 5.5.30
2016.04.01 11:53:04
Output for 5.5.29
2016.04.17 06:39:19
Output for 5.5.28
2016.04.21 10:02:03
Output for 5.5.27
2016.04.22 11:45:50
Output for 5.5.26
2016.04.26 17:55:36
Output for 5.5.25
2016.04.29 01:16:38
Output for 5.5.24
2016.05.24 07:32:18
Output for 5.4.45
2015.11.25 19:08:02
Output for 5.4.44
2015.11.25 19:08:04
Output for 5.4.43
2015.11.25 19:08:08
Output for 5.4.42
2015.11.25 19:08:09
Output for 5.4.41
2015.11.25 19:08:10
Output for 5.4.40
2015.11.25 19:08:12
Output for 5.4.39
2015.11.25 19:08:15
Output for 5.4.38
2015.11.25 19:08:16
Output for 5.4.36 - 5.4.37
2015.11.25 19:08:19
Output for 5.4.35
2015.11.25 19:08:20
Output for 5.4.34
2015.11.25 19:08:22
Output for 5.4.32
2015.11.25 19:08:25
Output for 5.4.31
2015.11.25 19:08:26
Output for 5.4.29 - 5.4.30
2015.11.25 19:08:28
Output for 5.4.28
2015.11.25 19:08:29
Output for 5.4.27
2015.11.25 19:08:30
Output for 5.4.26
2015.11.25 19:08:31
Output for 5.4.25
2015.11.25 19:08:32
Output for 5.4.24
2015.11.25 19:08:33
Output for 5.4.23
2015.11.25 19:08:34
Output for 5.4.21 - 5.4.22
2015.11.25 19:08:36
Output for 5.4.20
2015.11.25 19:08:37
Output for 5.4.19
2015.11.25 19:08:39
Output for 5.4.18
2015.11.25 19:08:40
Output for 5.4.17
2015.11.25 19:08:41
Output for 5.4.15 - 5.4.16
2015.11.25 19:08:43
Output for 5.4.14
2015.11.25 19:08:44
Output for 5.4.13
2015.11.25 19:08:45
Output for 5.4.12
2015.11.25 19:08:47
Output for 5.4.11
2015.11.25 19:08:48
Output for 5.4.9 - 5.4.10
2015.11.25 19:08:50
Output for 5.4.8
2015.11.25 19:08:52
Output for 5.4.6 - 5.4.7
2015.11.25 19:08:53
Output for 5.4.5
2015.11.25 19:08:55
Output for 5.4.3 - 5.4.4
2015.11.25 19:08:56
Output for 5.4.2
2015.11.25 19:08:58
Output for 5.4.0 - 5.4.1
2015.11.25 19:08:59
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/lubhZ on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/lubhZ on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/lubhZ on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/lubhZ on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/lubhZ on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/lubhZ on line 2 Parse error: parse error, expecting `','' or `';'' in /in/lubhZ on line 2
Process exited with code 255.