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