3v4l.org

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

Process exited with code 139.