3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = strtotime('next Sunday'); //echo strtotime('next Sunday'); echo date('Y-m-d', $date) . "T00:00:00"; ?>
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4, 5.1.0 - 7.1.0
2014-06-29T00:00:00
Output for 4.4.0 - 4.4.9, 5.0.5
2014-06-22T00:00:00