3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

Output for 5.4.24 - 5.4.27, 5.5.8 - 5.6.0beta1
1 Jan 1000 is a Wednesday
Output for 5.2.6 - 5.4.23, 5.5.0 - 5.5.7
1 Jan 1000 is a Thursday
Output for 5.2.0 - 5.2.5
1 Jan 1000 is a Unknown
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/U4v33 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/U4v33 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/U4v33 on line 3