3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $my_string = "Duers™ Sligo®"; $my_string = str_replace(array('®', '™', ' '), array('', '', '_'), $my_string); echo $my_string;
Output for 4.3.0 - 7.1.0
Duers_Sligo