3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for( $i=1; $i<15; $i++ ) { $date = strtotime( '+' . $i . ' day' ); echo date( 'l, M j Y', $date ) . "\n"; }
Output for 4.3.0 - 7.1.0
Tuesday, Dec 31 2013 Wednesday, Jan 1 2014 Thursday, Jan 2 2014 Friday, Jan 3 2014 Saturday, Jan 4 2014 Sunday, Jan 5 2014 Monday, Jan 6 2014 Tuesday, Jan 7 2014 Wednesday, Jan 8 2014 Thursday, Jan 9 2014 Friday, Jan 10 2014 Saturday, Jan 11 2014 Sunday, Jan 12 2014 Monday, Jan 13 2014