xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>PHP array_flip() 实例 - 自学教程(runoops.com)</title>
</head>
<body>
$input = array("oranges", "apples", "pears");
$result=array_flip($input);
echo '<pre>';
print_r($result);
echo '</pre>';
</body>
</html>