3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d', strtotime('next sunday', strtotime('2014-09-21')));
based on ieZuj
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4, 5.1.0 - 7.1.0
2014-09-28
Output for 4.4.0 - 4.4.9, 5.0.5
2014-09-21