3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date("n-d", strtotime( "previous monday" )); echo date("n-d", strtotime( "previous monday"."+ 5 day")); ?>
Output for 5.2.0 - 7.1.0
6-166-21
Output for 5.1.2 - 5.1.6
6-166-23
Output for 5.1.0 - 5.1.1
6-161-01
Output for 4.3.0 - 5.0.5
1-011-01