Bugs & Features

results for 9HTlo @ 2014-03-24 00:31:06

<?php $a = new DateTime('0000-01-00'); echo $a->format('j M Y \i\s \a l');
Output for 5.2.6 - 5.5.19, 5.6.0 - 5.6.3, php7@20140507 - 20141201, hhvm-3.5.0 - 3.5.1
31 Dec -0001 is a Saturday
Output for 5.5.20 - 5.5.22, 5.6.4 - 5.6.6, php7@20150101 - 20150301
31 Dec -0001 is a Thursday
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