Array mapping in php
<p>I having two arrays say,</p>

<pre><code>$array1 = array("code" =&gt; "E0089",
                "desc" =&gt; "some description");

$array2 = array("code" =&gt; "Code",
                "desc" =&gt; "Description");
</code></pre>

<p>resultant array should be,</p>

<pre><code>$result = array("Code" =&gt; "E0089",
                "Description" =&gt; "some description");
</code></pre>

<p>In short, I want to map two arrays and create third array.</p>
