>>58
for( $month = 1; $month <= 12; $month++ ){
$log[$month] = ( !isset( $log[$month] ) ? 0 : myfunc( $month ) );
}
関数が使えるかは調べてないです。すまそ。