3v4l.org

run code in 150+ 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 - 5.6.28, 7.0.0 - 7.1.0
1 Jan -0010 is a Sunday
Output for 5.3.7 - 5.4.45, hhvm-3.10.0 - 3.12.0
1 Jan -0010 is a Unknown