3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = utf8_decode('Österreich'); iconv ("UTF-8", "ASCII // TRANSLIT", $value); $country = mb_strtolower($country, 'ISO-8859-1'); echo $country;
based on RKLTU
Output for 5.0.4 - 5.5.34, 5.6.0 - 5.6.30, hhvm-3.10.1, 7.0.0 - 7.2.6
Notice: iconv(): Detected an illegal character in input string in /in/KgfhN on line 4 Notice: Undefined variable: country in /in/KgfhN on line 6
Output for hhvm-3.11.1 - 3.17.3
Notice: iconv(): Detected an illegal character in input string in /in/KgfhN on line 4 Notice: Undefined variable: country in /in/KgfhN on line 6 Warning: mb_strtolower() expects parameter 1 to be string, null given in /in/KgfhN on line 6
Output for 5.5.35 - 5.5.38
Fatal error: Call to undefined function iconv() in /in/KgfhN on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: iconv(): Detected an illegal character in input string in /in/KgfhN on line 4 Notice: Undefined variable: country in /in/KgfhN on line 6
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: iconv() in /in/KgfhN on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: iconv() in /in/KgfhN on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: iconv() in /in/KgfhN on line 4