3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = "diller"; $disallowed= array("dont want this","neither this","nono"); $result=str_replace($disallowed, "", $input); echo $result; ?>
Output for 4.3.0 - 7.1.0
diller