3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(date("Y-m-d H:i:s", strtotime("monday this week", strtotime("2013-10-18"))));
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(19) "2013-10-14 00:00:00"
Output for 4.3.5 - 5.2.17
string(19) "2013-10-21 00:00:00"
Output for 4.3.0 - 4.3.4
string(19) "2013-10-27 23:00:00"