3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d", strtotime('this week'));
Output for 5.6.23 - 5.6.28, 7.0.8 - 7.1.0
2014-07-21
Output for 5.3.0 - 5.6.22, 7.0.0 - 7.0.7
2014-07-28
Output for 4.3.5 - 5.2.17
2014-07-27
Output for 4.3.0 - 4.3.4
2014-08-03