3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'Daniël Renée François Bjørn in’t Veld'; $plain = iconv("UTF-8", "ASCII", $name); $ignore = iconv("UTF-8", "ASCII//IGNORE", $name); $translit = iconv("UTF-8", "ASCII//TRANSLIT", $name); var_dump($plain, $ignore, $translit);
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.25, 8.0.0 - 8.0.12, 8.1rc1 - rc3
Notice: iconv(): Detected an illegal character in input string in /in/RREJl on line 4 bool(false) string(32) "Danil Rene Franois Bjrn int Veld" string(37) "Dani?l Ren?e Fran?ois Bj?rn in't Veld"

preferences:
42.58 ms | 460 KiB | 5 Q