3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sunday = strtotime("next Sunday"); $saturday = $sunday + 60 * 60 * 24 * 6; echo date('d', $sunday);