title: Check array for partial match (PHP)
body: <p>I have an array of filenames which I need to check against a code, for example</p>
  
  <pre><code>array("120_120_435645.jpg","150_150_312312.jpg","250_250_1232327.jpg");
  </code></pre>
  
  <p>the string is "312312" so it would match "150_150_312312.jpg" as it contains that string.
  If there are no matches at all within the search then flag the code as missing.</p>
  
  <p>I tried in_array but this seems to any return true if it is an exact match, don't know if array_filter will do it wither...</p>
  
  <p>Thanks for any advice...perhaps I have been staring at it too long and a coffee may help :)</p>