3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '��Hitmakers Feat. KNA Connected'; var_dump(ctype_print('��Hitmakers Feat. KNA Connected')); $s = iconv("UTF-8", "UTF-8//IGNORE", $str); var_dump($s); $str = preg_replace('/[\x00-\x08\x0B\x0C\x0E-\x1F\x80-\x9F]/u', '', $str); var_dump($str);
based on trFvB
Output for 5.3.20 - 5.5.34, 5.6.8 - 5.6.20, 5.6.28 - 7.0.5, 7.0.20 - 7.2.0
bool(false) string(35) "��Hitmakers Feat. KNA Connected" string(35) "��Hitmakers Feat. KNA Connected"
Output for 7.0.6
bool(false) Fatal error: Uncaught Error: Call to undefined function iconv() in /in/fZWBF:6 Stack trace: #0 {main} thrown in /in/fZWBF on line 6
Process exited with code 255.
Output for 5.5.35, 5.6.21
bool(false) Fatal error: Call to undefined function iconv() in /in/fZWBF on line 6
Process exited with code 255.