3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('dd/mm/YYYY H:i:s');
Output for 5.6.28, 7.0.14 - 7.1.0
2222/0707/2014201420142014 17:42:57
Output for 7.0.6
0303/0505/2016201620162016 02:53:26
Output for 7.0.5
0202/0404/2016201620162016 16:08:40
Output for 7.0.4
1010/0303/2016201620162016 01:43:29
Output for 7.0.3
1818/0303/2016201620162016 01:54:36
Output for 7.0.2
2121/0303/2016201620162016 12:28:44
Output for 7.0.1
2323/0303/2016201620162016 12:41:46
Output for 7.0.0
2626/0303/2016201620162016 15:07:50
Output for 5.6.21
0101/0505/2016201620162016 21:55:11
Output for 5.6.20
0909/0404/2016201620162016 11:20:37
Output for 5.6.19
0707/0303/2016201620162016 00:09:03
Output for 5.6.18
1414/0303/2016201620162016 12:21:02
Output for 5.6.17
1919/0303/2016201620162016 06:22:44
Output for 5.6.16
2727/0303/2016201620162016 16:52:04
Output for 5.6.15
2828/0303/2016201620162016 17:45:32
Output for 5.6.14
0101/0404/2016201620162016 20:22:18
Output for 5.6.13
1515/0404/2016201620162016 00:11:57
Output for 5.6.12
1919/0404/2016201620162016 13:21:52
Output for 5.6.11
2222/0404/2016201620162016 20:38:26
Output for 5.6.10
2424/0404/2016201620162016 22:17:52
Output for 5.6.9
2727/0404/2016201620162016 03:28:45
Output for 5.6.8
2929/0404/2016201620162016 11:05:40
Output for 5.6.7
2424/0505/2016201620162016 22:12:17
Output for 5.5.35
2222/0505/2016201620162016 01:19:17
Output for 5.5.34
1010/0404/2016201620162016 17:17:16
Output for 5.5.33
0808/0303/2016201620162016 12:34:02
Output for 5.5.32
1616/0303/2016201620162016 18:16:14
Output for 5.5.31
2020/0303/2016201620162016 09:15:17
Output for 5.5.30
3131/0303/2016201620162016 19:46:33
Output for 5.5.29
1616/0404/2016201620162016 14:19:05
Output for 5.5.28
2020/0404/2016201620162016 16:39:03
Output for 5.5.27
2121/0404/2016201620162016 19:08:43
Output for 5.5.26
2626/0404/2016201620162016 00:45:11
Output for 5.5.25
2828/0404/2016201620162016 06:45:28
Output for 5.5.24
3030/0404/2016201620162016 14:13:40
Output for 5.4.45
2121/0909/2015201520152015 11:52:36
Output for 5.4.44
2121/0909/2015201520152015 11:52:32
Output for 5.4.43
2121/0909/2015201520152015 04:09:04
Output for 5.4.42
2121/0909/2015201520152015 04:08:29
Output for 5.4.41
2121/0909/2015201520152015 04:07:45
Output for 5.4.40
2121/0909/2015201520152015 04:06:45
Output for 5.4.39
2121/0909/2015201520152015 04:06:01
Output for 5.4.38
0505/0303/2015201520152015 06:44:35
Output for 5.4.37
0505/0303/2015201520152015 06:44:29
Output for 5.4.34 - 5.4.36
0505/0303/2015201520152015 06:44:28
Output for 5.4.32
1414/0909/2014201420142014 01:00:59
Output for 5.4.31
1414/0909/2014201420142014 01:00:58
Output for 5.4.29 - 5.4.30
2222/0707/2014201420142014 17:43:00
Output for 5.4.9 - 5.4.28
2222/0707/2014201420142014 17:43:01
Output for 5.4.0 - 5.4.8
2222/0707/2014201420142014 17:43:02
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/3ZbVM 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/3ZbVM on line 2 Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/3ZbVM 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/3ZbVM on line 2 Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/3ZbVM 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/3ZbVM on line 2 Parse error: parse error, expecting `','' or `';'' in /in/3ZbVM on line 2
Process exited with code 255.