title: How can i preg_match multiple words
body: <p>i'm trying to make the input not a pattern.</p>
  
  <pre><code>$input= "words trying to compare";
  
  preg_match("/\b{$input}\b/", "these are a lot of words that i'm trying to compare") 
                // ^this might contain multiple words, but the same as ^^ these
  echo "match is found";
  </code></pre>
  
  <p>how can i make it that the even if the input words are not in the same order as the sentence i'm trying to compare it to, it could return "match found."</p>