3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new DateTime('0000-01-02'); echo $a->format('j M Y \i\s \a l');
Output for 5.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.1.7
2 Jan 0000 is a Sunday