PHP Map: back-and-forth
<p>Consider this contrived example. The following array works fine if I want to convert English to Spanish.  </p>

<pre><code>$translate = array( 'one'    =&gt; 'uno',
                    'two'    =&gt; 'dos',
                    'three'  =&gt; 'tres'
            );

echo $translate['one'];
</code></pre>

<p>But how do I convert from Spanish to English? Can this be done with an associative array or is there a better way to do this? </p>
