<? $tuArray=array("uno","dos","tres","uno","cuatro"); print_r(array_flip(array_flip($tuArray))); ?> La salida sería: Array ( [3] => uno [1] => dos [2] => tres [4] => cuentro )