PHP array_combine2022-05-04 10:55:01<?php $fname=array("Bill","Steve","Mark"); $age=array("60","56","31"); $c=array_combine($fname,$age); print_r($c); ?> 输出Array ( [Bill] => 60 [Steve] => 56 [Mark] => 31 )上一篇:PHP str_word_count下一篇:PHP比较字符串