getting months using mktime not working in PHP 7.0.
$month_options=\"\"; for( $i = 1; $i <= 12; $i++ ) { $month_num = str_pad( $i, 2, 0, STR_P
It is cleary written here that last parameter is_dst of mktime has been removed in PHP 7, You have to give 6 parameters instead of 7.
is_dst
Try this code snippet here 7.0.8
"; } echo $month_options;