3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime())->format('M-d-Y');
Output for 5.4.0 - 5.4.26, 5.6.28, 7.0.14 - 7.1.0
Apr-01-2014
Output for 7.0.6
May-03-2016
Output for 5.6.14, 7.0.5
Apr-02-2016
Output for 7.0.4
Mar-10-2016
Output for 7.0.3
Mar-18-2016
Output for 7.0.2
Mar-22-2016
Output for 7.0.1
Mar-23-2016
Output for 7.0.0
Mar-26-2016
Output for 5.6.21
May-02-2016
Output for 5.6.20
Apr-09-2016
Output for 5.6.19
Mar-07-2016
Output for 5.6.18
Mar-14-2016
Output for 5.6.17
Mar-19-2016
Output for 5.6.16
Mar-27-2016
Output for 5.6.15
Mar-28-2016
Output for 5.6.13
Apr-15-2016
Output for 5.6.12
Apr-19-2016
Output for 5.6.11
Apr-23-2016
Output for 5.6.10
Apr-25-2016
Output for 5.6.9
Apr-27-2016
Output for 5.6.8
Apr-29-2016
Output for 5.6.7
May-25-2016
Output for 5.5.35
May-22-2016
Output for 5.5.34
Apr-10-2016
Output for 5.5.33
Mar-08-2016
Output for 5.5.32
Mar-17-2016
Output for 5.5.31
Mar-20-2016
Output for 5.5.30
Apr-01-2016
Output for 5.5.29
Apr-16-2016
Output for 5.5.28
Apr-20-2016
Output for 5.5.27
Apr-22-2016
Output for 5.5.26
Apr-26-2016
Output for 5.5.25
Apr-28-2016
Output for 5.5.24
May-23-2016
Output for 5.4.44 - 5.4.45
Sep-19-2015
Output for 5.4.41 - 5.4.43
Jul-13-2015
Output for 5.4.39 - 5.4.40
May-15-2015
Output for 5.4.38
Mar-02-2015
Output for 5.4.34 - 5.4.37
Feb-08-2015
Output for 5.4.27 - 5.4.32
Sep-08-2014
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/VmT7U 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
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/VmT7U on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/VmT7U on line 2
Process exited with code 255.