八字天干结构 

男: 丙辰 庚寅 戊戌 乙卯

$bz_un_rigan2  ( [0] => 丙 [1] => 庚 [2] => 乙 [3] => 戊 [4] => 甲 [5] => 戊 [6] => 乙 )

$bazi_un_rigan2_counts  八字里面各个天干的数目 去日干 不带藏干( [乙] => 2 [戊] => 2 [丙] => 1 [庚] => 1 [甲] => 1 )

$bazi_un_dizhi2_counts八字地支本气天干的数目 不带藏干  ( [戊] => 2 [甲] => 1 [乙] => 1 )

 $bazi_arr_to1_counts  ://八字里面各个天干的数目 带日干 带地支 带藏干 壬寅 乙卯 甲寅 壬子( [甲] => 3 [壬] => 2 [乙] => 2 [寅] => 2 [丙] => 2 [戊] => 2 [卯] => 1 [子] => 1 [癸] => 1 )

$bazi_arr_dz_counts =八字里地支的数目亥] => 1 [巳] => 1 [午] => 1 [寅] => 1 ) 男: 丁亥 癸巳 戊午 丙寅