title: how to replace text using variable in PHP?
body: <p>im doing to using STOP WORD for erase some conjuntion words : like this, the, in .</p>
  
  <p>im still using read string then replace from file then erase those conjuntion words and here is the code</p>
  
  <pre><code>$fh = fopen("search/E_a_02.txt", "r");
  
  $file = file_get_contents("search/E_a_02.txt");
  $stop="BI";
  echo str_replace($stop, "", $file);
  </code></pre>
  
  <p>i want that variable $stop is like array , that include stop words, then erase the sentence from the file, what should i do?</p>
  
  <p>pleaseee help.</p>
  
  <p>thank you master :)</p>