3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $neu = htmlentities("<a href='test'>Täst</a>", ENT_QUOTES); echo $neu;
Output for 5.4.0 - 5.6.30, hhvm-3.10.1 - 3.11.1, hhvm-3.17.3, 7.0.0 - 7.1.7
&lt;a href=&#039;test&#039;&gt;T&auml;st&lt;/a&gt;
Output for hhvm-3.12.14 - 3.15.4

Process exited with code 137.
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.