实例. 反转数组中的键名和对应关联的键值:. <?PHP $a1=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow"); $result=array_flip($a1); print_r($result);
確定! 回上一頁