- date: documentation ( source)
- strtotime: documentation ( source)
- range: documentation ( source)
- sprintf: documentation ( source)
<?php
foreach(range(0,11) as $month):
echo date( 'F', strtotime( sprintf( 'Jan +%d months', $month ) ) ) . "\n";
endforeach;