Get all months name in php

$months = array();                 $currentMonth = 0; //(int)date(‘m’); for ($x = $currentMonth; $x < $currentMonth + 12; $x++) {                       $months[] = date(‘F’, mktime(0, 0, 0, $x, 1)); }                    … Read moreGet all months name in php