3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach(range(0,11) as $month): echo date( 'F', strtotime( sprintf( 'Jan +%d months', $month ) ) ) . "\n"; endforeach;
Output for 5.2.0 - 7.1.10
January February March April May June July August September October November December
Output for 4.3.0 - 5.1.6
January January January January January January January January January January January January