3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "&#xC9;"; //É $res = mb_strtolower(html_entity_decode($str,ENT_COMPAT|ENT_HTML401,'UTF-8'),'UTF-8' ); echo $res;

preferences:
42.76 ms | 459 KiB | 5 Q