3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $now = strtotime('2014-01-27 00:00'); $beginningOfThisWeek = strtotime('monday this week 00:00:00', $now); echo date('d.m.Y H:i', $beginningOfThisWeek);
based on VT3Jj
Output for 4.3.5 - 5.0.5, 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
27.01.2014 00:00
Output for 4.3.0 - 4.3.4, 5.1.0 - 5.1.6
03.02.2014 00:00