$a1=array("a","b","c","d"); $a2=array("猫","犬","馬", "牛"); print_r(array_combine($a1,$a2)); コードをコピー 配列 ( [a] => 猫 => 犬 [c] => 馬 [d] => 牛 )