Assign values by matching two arrays
<p>I feel really stupid right now since I can remember doing something like this. But now my head is empty and this really seems to look like a problem.</p>

<p>I have two arrays. First:</p>

<pre><code>array (
  0 =&gt; 
  array (
    'id' =&gt; '1',
    'name' =&gt; 'Blizzard',
    'slug' =&gt; 'blizzard',
  ),
  1 =&gt; 
  array (
    'id' =&gt; '2',
    'name' =&gt; 'Id Software',
    'slug' =&gt; 'id-software',
  ),
  2 =&gt; 
  array (
    'id' =&gt; '3',
    'name' =&gt; 'Capcom',
    'slug' =&gt; 'capcom',
  ),
  3 =&gt; 
  array (
    'id' =&gt; '4',
    'name' =&gt; 'Maxis',
    'slug' =&gt; 'maxis',
  ),
  4 =&gt; 
  array (
    'id' =&gt; '5',
    'name' =&gt; 'Electronic Arts',
    'slug' =&gt; 'electronic-arts',
  ),
)
</code></pre>

<p>And secound one:</p>

<pre><code>array (
  0 =&gt; '3',
  1 =&gt; '4',
)
</code></pre>

<p>What I want to do is, take value from the <strong>secound</strong> array and match it with the value of the first one. How can I do this?</p>
