title: Warning: strpos() [function.strpos]: Empty delimiter in foreach statement
body: <p>I have read all topics regarding strpos() issues but I cant find one that will fix mine.
  So here is the code.</p>
  
  <pre><code>foreach($titles_array as $k=&gt;$v) {
  if(strpos($subject,$v) !== false) {
          $i++;
      $asd[$titles['id']] = $i;   
  }
  }
  </code></pre>
  
  <p>The script works good and I get the results I'm looking for but this error comes up :
  Warning: strpos() [function.strpos]: Empty delimiter</p>
  
  <p>I read that it might be an empty string or value in array but I've checked them both and I didnt found any empty string/value.
  I appreciate any help.
  All the best !</p>