array array_flip
array_flip() returns an array in flip order.
Example 1. array_flip() example
1 2 $trans = array_flip ($trans); 3 $original = strtr ($str, $trans); 4
Note: This function was added in PHP 4.0.