- date: documentation ( source)
- strtotime: documentation ( source)
<?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";
}
?>