3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $URLdate = "2016-03-22"; $URL = date("Y_m_d",strtotime("last Monday", strtotime($URLdate))) . '.html'; echo $URL;
based on hnbYI
Output for 5.5.0 - 7.3.0rc4
2016_03_21.html