3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "<dirigeant>&#xe9;</dirigeant>"; // é echo html_entity_decode($string, ENT_QUOTES, 'UTF-8');

preferences:
37.35 ms | 402 KiB | 5 Q