3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $nom = "Märie Du jean Grénaille"; $nom = strtr($nom," ÁÀÂÄÃÅÇÉÈÊËÍÏÎÌÑÓÒÔÖÕÚÙÛÜÝáàâäãåçéèêëíìîïñóòôöõúùûüýÿ","_AAAAAACEEEEEIIIINOOOOOUUUUYaaaaaaceeeeiiiinooooouuuuyy"); echo $nom; $nomfilter = array(" ÁÀÂÄÃÅÇÉÈÊËÍÏÎÌÑÓÒÔÖÕÚÙÛÜÝáàâäãåçéèêëíìîïñóòôöõúùûüýÿ"); $nomremplacement = array("_AAAAAACEEEEEIIIINOOOOOUUUUYaaaaaaceeeeiiiinooooouuuuyy"); //$nom = str_replace($nomfilter, $nomremplacement, $nom); //echo $nom;
based on H9TbF
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
My�rie_Du_jean_Gry�naille
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/tZs8c on line 13
Process exited with code 255.