title: how to check if '.'[dot] is present in string or not ? strstr is not working in php
body: <p>I am trying to see if . [dot] is present in string or not.</p>
  
  <p>I have tried strstr but it returns false.</p>
  
  <p>here is my code :-</p>
  
  <pre><code>&lt;?php
  $str = strpos("true.story.bro", '.');
  if($str === true)
  {
          echo "OK";
  } else {
          echo "No";
  }
  ?&gt;
  </code></pre>
  
  <p>I want to see if '.' is present in string or not, I can do with explode, but i want to do in 1 line, how could i do that ? </p>
  
  <p>Thanks</p>