3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $result = "°Freenew°\x90ɮ\xC2\xA0"; //echo preg_replace('#[\x{0000}-\x{001F}\x{007F}-\x{00A0}]#u', '', $result); echo preg_replace('#[\x{0000}-\x{001F}]#u', '', $result); //echo preg_replace('#[\x00-\x1F\x7F-\xA0]#', '', $result); //echo preg_last_error(); //echo str_replace(array('\xA0', '\xC2', '\x90'), '', $result);
Output for 5.2.0 - 7.1.0
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.1.6
°Freenew°�ɮ 
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/6JS5i on line 8
Process exited with code 255.