title: Key/Value Search in Multidimensional Array
body: <p>In building out a Google feed, I am needing a way to return the key in my multidimensional array for age groups based on sizes:</p>
  
  <pre><code>$sizeArray = array("Newborn" =&gt; "0-3m", 
                     "Infant" =&gt; array("3-6m", "6-12m"), 
                     "Toddler" =&gt; array("12-18m", "18-24m", "2T", "3T", "4T", "5"), 
                     "Kids" =&gt; array("6", "7", "8")
               );
  </code></pre>
  
  <p>I'm hoping it would look something similar to this:</p>
  
  <p><code>findKey("18-24m", $sizeArray);</code></p>
  
  <p>Which would return: <code>Toddler</code></p>
  
  <p>If there is a better way to do this, i'm all ears. Thanks in advance!</p>