3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print strftime('Y-m-d',(strtotime('7 days ago')));
based on oT05B
Output for 4.3.0 - 7.2.0
Y-m-d