3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "<p>this -&gt; &quot;</p>\n"; echo htmlspecialchars_decode($str); // note that here the quotes aren't converted echo htmlspecialchars_decode($str, ENT_NOQUOTES); ?>
Output for 5.2.15 - 7.1.0
<p>this -> "</p> <p>this -> &quot;</p>