title: How can I check if a word is contained in another string using PHP?
body: <p>Pseudo Code</p>
  
  <pre><code>text = "I go to school";
  word = "to"
  if ( word.exist(text) ) {
      return true ;
  else {
      return false ;
  }
  </code></pre>
  
  <p>I am looking for a PHP function which returns true if the word exists in the text.</p>