3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = 'Monday, September 28, 2009'; $time = strtotime($s); $end = strtotime('next sunday', $time); $format = 'Y-m-d'; echo $end; ?>
Output for 4.4.0 - 4.4.9, 5.0.5 - 7.1.0
1254607200
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
1255212000