3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $day = 'sunday'; echo date( 'l', strtotime("Sunday +2 days") );
Output for 5.2.0 - 7.2.6
Tuesday
Output for 4.3.0 - 5.1.6
Sunday