3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = strtotime('this year'); echo date('Y-m-d H:i:s', $s);
Output for 4.3.5 - 4.4.9, 5.0.3 - 7.1.0
2014-01-10 11:10:55
Output for 5.0.0 - 5.0.2
2014-01-10 00:00:00
Output for 4.3.0 - 4.3.4
2015-01-10 11:10:55