3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "Mélanie"; $var = stripAccents($string); echo "<br />".$var; function stripAccents($string){ $texte = str_replace( array('à','â','ä','á','ã','å','î','ï','ì','í','ô','ö','ò','ó','õ','ø','ù','û','ü','ú','é','è','ê','ë','ç','ÿ','ñ','À','Á','Â','Ã','Ä','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ñ','Ò','Ó','Ô','Õ','Ö','Ù','Ú','Û','Ü','Ý'), array('a','a','a','a','a','a','i','i','i','i','o','o','o','o','o','o','u','u','u','u','e','e','e','e','c','y','n','A','A','A','A','A','C','E','E','E','E','I','I','I','I','N','O','O','O','O','O','U','U','U','U','Y'), $string ); return $texte; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $string in /in/LvK8p on line 4 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/LvK8p on line 9 <br />

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.93 ms | 401 KiB | 8 Q