How to match multiple arrays?
<p>I have multiple nested arrays:</p>

<pre><code>array(
    [0]=&gt;array('ID'=&gt;123 ,'VALUE'=&gt;value)
    [1]=&gt;array('ID'=&gt;124 ,'VALUE'=&gt;value)
    )


array(
    [0]=&gt;array('ID'=&gt;123 ,'NAME'=&gt;value)
    [1]=&gt;array('ID'=&gt;124 ,'NAME'=&gt;value)
    [2]=&gt;array('ID'=&gt;125 ,'NAME'=&gt;value)
    )
</code></pre>

<p>I have to find a match, for instance:</p>

<p><code>if(ID=123)</code> I should get the ID, value, and name.</p>
