3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $monday = date('Y-m-d H:i', strtotime( 'monday this week' )); $friday = date( 'Y-m-d', strtotime( 'friday this week' ) ); echo $monday;
based on 7i1Tc
Output for 5.6.23 - 5.6.28, 7.0.8 - 7.2.0
2015-11-02 00:00
Output for 5.5.0 - 5.6.22, 7.0.0 - 7.0.7
2015-11-09 00:00