title: PHP check if array contains start of string
body: <p>How can I check if the <em>start</em> of a given value matches an entry in a predefined list of values?</p>
  
  <pre><code>$model_no1 = "KK71458";
  $model_no2 = "IX41";
  
  $models = array("KK61", "KK71", "KK81", "IX", "IJ");
  </code></pre>
  
  <p>In the above sample code, both values should return a valid match.</p>