3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = new DateTime('-00-00'); echo $a->format('j M Y \i\s \a l');
Output for 5.3.7 - 5.3.28, 5.4.0 - 5.4.26, 5.6.28, 7.0.14 - 7.1.0
26 Mar 2014 is a Wednesday
Output for 7.0.6
3 May 2016 is a Tuesday
Output for 7.0.5
3 Apr 2016 is a Sunday
Output for 7.0.4
10 Mar 2016 is a Thursday
Output for 7.0.3
18 Mar 2016 is a Friday
Output for 7.0.2
22 Mar 2016 is a Tuesday
Output for 7.0.1
24 Mar 2016 is a Thursday
Output for 7.0.0
27 Mar 2016 is a Sunday
Output for 5.6.21
2 May 2016 is a Monday
Output for 5.6.20
10 Apr 2016 is a Sunday
Output for 5.6.19
7 Mar 2016 is a Monday
Output for 5.6.18
15 Mar 2016 is a Tuesday
Output for 5.6.17
19 Mar 2016 is a Saturday
Output for 5.6.16
28 Mar 2016 is a Monday
Output for 5.6.15
29 Mar 2016 is a Tuesday
Output for 5.6.14
2 Apr 2016 is a Saturday
Output for 5.6.13
15 Apr 2016 is a Friday
Output for 5.6.12
20 Apr 2016 is a Wednesday
Output for 5.6.11
23 Apr 2016 is a Saturday
Output for 5.6.10
25 Apr 2016 is a Monday
Output for 5.6.9
27 Apr 2016 is a Wednesday
Output for 5.6.8
29 Apr 2016 is a Friday
Output for 5.5.35
22 May 2016 is a Sunday
Output for 5.5.34
11 Apr 2016 is a Monday
Output for 5.5.33
9 Mar 2016 is a Wednesday
Output for 5.5.32
17 Mar 2016 is a Thursday
Output for 5.5.31
20 Mar 2016 is a Sunday
Output for 5.5.30
1 Apr 2016 is a Friday
Output for 5.5.29
17 Apr 2016 is a Sunday
Output for 5.5.28
21 Apr 2016 is a Thursday
Output for 5.5.27
22 Apr 2016 is a Friday
Output for 5.5.26
26 Apr 2016 is a Tuesday
Output for 5.5.25
28 Apr 2016 is a Thursday
Output for 5.5.24
24 May 2016 is a Tuesday
Output for 5.4.44 - 5.4.45
26 Oct 2015 is a Monday
Output for 5.4.41 - 5.4.43
12 Jul 2015 is a Sunday
Output for 5.4.39 - 5.4.40
15 May 2015 is a Friday
Output for 5.4.38
2 Mar 2015 is a Monday
Output for 5.4.34 - 5.4.37
8 Feb 2015 is a Sunday
Output for 5.3.29, 5.4.27 - 5.4.32
8 Sep 2014 is a Monday