3v4l.org

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

preferences:
32.74 ms | 402 KiB | 5 Q