3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "öäoü"; var_dump(ICONV_IMPL); var_dump(bin2hex($string)); echo iconv("utf-8", "ascii//TRANSLIT", $string);
Output for 7.4.0 - 7.4.32, 8.0.1 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
string(5) "glibc" string(14) "c3b6c3a46fc3bc" ??o?
Output for 7.4.33
Warning: Use of undefined constant ICONV_IMPL - assumed 'ICONV_IMPL' (this will throw an Error in a future version of PHP) in /in/Wuetv on line 4 string(10) "ICONV_IMPL" string(14) "c3b6c3a46fc3bc" Fatal error: Uncaught Error: Call to undefined function iconv() in /in/Wuetv:6 Stack trace: #0 {main} thrown in /in/Wuetv on line 6
Process exited with code 255.

preferences:
140.57 ms | 401 KiB | 121 Q