fork download
  1. <?php
  2.  
  3. $string = "I've bought a new mp4 player ./ today!";
  4. $keywords = array('mp3', 'mp4', './');
  5. echo $string ."\n";
  6. echo str_replace($keywords, '', $string);
  7.  
  8. ?>
Success #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
I've bought a new mp4 player ./ today!
I've bought a new  player  today!