3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pdate=date('Y-m-d'); $rdate=date('Y-m-d', strtotime('-1 days', strtotime($pdate))); echo $pdate; echo $rdate;
Output for 4.3.0 - 7.1.0
2013-02-202013-02-19