3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $str = "Coss&eacute; René"; echo "\n"; echo $str = htmlentities($str,ENT_IGNORE); echo "\n"; echo $str = html_entity_decode($str); echo "\n";

preferences:
37.87 ms | 402 KiB | 5 Q