3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('c', mktime(0,0,0, 1, 0)) . "\n"; echo date('c', mktime(0,0,0, 12, 31));
based on fpjnC
Output for 5.5.0 - 7.3.1
2014-12-31T00:00:00+01:00 2015-12-31T00:00:00+01:00