title: Array with multiple "primary key" columns
body: <p>I create an array like this:</p>
  
  <pre><code>$table = Array();
  array_push($table, Array('item' =&gt; 1, 'storage' = 1, 'qtd' = 0) );
  array_push($table, Array('item' =&gt; 1, 'storage' = 2, 'qtd' = 4) );
  array_push($table, Array('item' =&gt; 2, 'storage' = 1, 'qtd' = 78) );
  array_push($table, Array('item' =&gt; 3, 'storage' = 2, 'qtd' = 10) );
  </code></pre>
  
  <p>I need to search if i have some item in some storage..
  For example in a sql query i do like "... where item = 1 and storage = 2"</p>
  
  <p>How can i search that way in the array, to get the "qtd" value?</p>
  
  <p>Thanks!</p>