3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "testing À, Ç, É, Ê "; echo htmlentities($str, null, 'ISO-8859-1');

preferences:
27.66 ms | 402 KiB | 5 Q