3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $ts = date('d.m.Y', strtotime('today +1 day last sunday', strtotime('05/05/2015'))); echo ' to '; echo $ts = date('d.m.Y', strtotime('today +1 day this saturday', strtotime('05/05/2015')));
based on 4P6N2
Output for 5.2.0 - 7.2.0
04.05.2015 to 10.05.2015
Output for 4.3.0 - 5.1.6
03.05.2015 to 09.05.2015