3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //array(self::NON_UTF8_STRING_ISO, 'ISO-8859-1', self::NON_UTF8_STRING_ISO), echo htmlspecialchars("\xce\xd2\xca\xc7\xb2\xe2\xca\xd4", ENT_QUOTES, 'GB2312'); echo htmlspecialchars("\xf8\xf9", ENT_QUOTES, 'ISO-8859-1'); $string = "\nLöic & René"; $output = iconv("UTF-8", "ISO-8859-1//TRANSLIT", $string); echo $output; $output = iconv("UTF-8", "UTF-8//TRANSLIT", $string); echo $output;
based on bXduQ
Output for 5.0.0 - 5.5.34, 5.6.8 - 5.6.20, 5.6.28 - 7.0.5, 7.0.14 - 7.3.0rc6
���Dz���� L�ic & Ren� Löic & René
Output for 7.0.6
���Dz���� Fatal error: Uncaught Error: Call to undefined function iconv() in /in/u94vo:9 Stack trace: #0 {main} thrown in /in/u94vo on line 9
Process exited with code 255.
Output for 5.5.35, 5.6.21
���Dz���� Fatal error: Call to undefined function iconv() in /in/u94vo on line 9
Process exited with code 255.
Output for 4.4.5 - 4.4.9
���Dz���� Fatal error: Call to undefined function: iconv() in /in/u94vo on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
���Dz���� Fatal error: Call to undefined function: iconv() in /in/u94vo on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1

Process exited with code 139.