Use PHP function for month array