(PHP 4 >= 4.0b4)
array array_flip (array trans)
array array_flip
Array_flip() returns an array in flip order.
Example 1. Array_flip() example
$trans = array_flip ($trans); $original = strtr ($str, $trans);