3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d",strtotime(date("Y-m-d")."-2.5 Year"));
Output for 5.1.0 - 7.2.0
2019-02-15
Output for 4.3.0 - 5.0.5
1970-01-01