3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'Can\'t Touch This®™'; $newstring = ''; $forbidden = array(174,194); for($i=0;$i<strlen($string);$i++){ if(in_array(ord($string[$i]),$forbidden)) continue; else $newstring.= $string[$i]; } echo $newstring;
Output for 4.3.0 - 7.1.0
Can't Touch This™