title: replace words from text which matched with array value
body: <p>My array $b is here:</p>
  
  <pre><code>rray(3) {
    [0]=&gt;
    string(14) "8989243three56"
    [1]=&gt;
    string(15) "402three1345233"
    [2]=&gt;
    string(13) "5023one345233"
  }
  </code></pre>
  
  <p>Which I am getting at the end of my code in <a href="http://ideone.com/97HHmT" rel="nofollow">http://ideone.com/97HHmT</a></p>
  
  <p>At last I want to check, if any value of <code>$b</code> is present in <code>$s</code> the main string or not. If present then it should be replace by <code>*</code>. </p>
  
  <p>like input is <code>my long STRING with some Numbers 402three1345233 4023one345233</code> then result should be <code>my long STRING with some Numbers ************ *************</code> .</p>
  
  <p>What change I should do in <a href="http://ideone.com/97HHmT" rel="nofollow">http://ideone.com/97HHmT</a>?</p>