3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = date( "Y-m-d H:i:s",strtotime("-3 year")); echo $date;
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.1.0
2011-07-09 13:15:48
Output for 5.0.0 - 5.0.2
2011-07-09 00:00:00