3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(htmlentities('é', ENT_COMPAT, 'ISO-8859-1'));

preferences:
42.67 ms | 402 KiB | 5 Q