title: Compare associative array with standard array values PHP
body: <p>I have a set of ids and names in an associative array and in my other array I have my list of id's that I want to compare against the first list.</p>
  
  <p>I'd like to be able to perform an intersection type search function without losing the names from the associative array.</p>
  
  <p>I've though about doing a nested foreach, but it seems like this process could take forever as both arrays could potentially have 70k+ values.</p>