3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sunday = strtotime("next Sunday"); $saturday = $sunday + 60 * 60 * 24 * 6; echo date('D', $sunday);
Output for 4.3.0 - 7.1.0
Sun