3v4l.org

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

preferences:
57.15 ms | 402 KiB | 5 Q