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

Output for 5.2.6 - 5.6.0, php7@20140507 - p7@20140801, hhvm-3.2.0
31 Dec -0001 is a Saturday
Output for hhvm-3.0.1 - 3.1.0
Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/9HTlo on line 3 #0 DateTime->__construct(), called at [/in/9HTlo:3] #0 DateTime->__construct(), called at [/in/9HTlo:3] Strict Warning: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /in/9HTlo on line 3 #0 DateTime->__construct(), called at [/in/9HTlo:3] #0 DateTime->__construct(), called at [/in/9HTlo:3] 31 Dec -0001 is a Saturday
Output for 5.2.4 - 5.2.5
31 Dec -0001 is a Unknown
Output for 5.2.0 - 5.2.3
31 Dec 1999 is a Friday
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/9HTlo 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/9HTlo 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/9HTlo on line 3