3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $months = array("January", "February", "March", "April", "May", "june", "July", "August", "September", "October", "November", "December"); for ($i=0; $i < 12; $i++) { echo date('F', strtotime($months[$i])); echo "\n"; } ?>
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
January March March May May July July August October October December December
Output for 4.3.0 - 5.1.6
January January January January January January January January January January January January