function remove_values($arr){
$_a = array();
while(list($key,$val) = each($arr)){
$_a[$val] = 1;
}
return array_keys($_a);
}
i can't follow the above function well.i don't know what's the effect of $_a[$val] = 1; anyone can explain it to me thank you