xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>PHP array_combine() 函数 实例 - 自学教程(runoops.com)</title>
</head>
<body>
$fname= ["Peter","Ben","Joe"];
$age= ["35","37","43"];
echo '<pre>';
var_dump(array_combine($fname,$age));
echo '</pre>';
</body>
</html>