3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $neu = htmlspecialchars("<a href='test'>Täst</a>", ENT_QUOTES, 'UTF-8'); echo $neu;
Output for 4.3.2 - 7.1.0
&lt;a href=&#039;test&#039;&gt;Täst&lt;/a&gt;
Output for 4.3.0 - 4.3.1

Process exited with code 139.