3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new DateTime('-0010-01-01'); echo $a->format('j M Y \i\s \a l');
Output for 5.5.24 - 7.2.0
1 Jan -0010 is a Sunday
Output for 5.3.7 - 5.4.45
1 Jan -0010 is a Unknown