3v4l.org

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