3v4l.org

run code in 300+ PHP versions simultaneously
<?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); ?>

preferences:
39.7 ms | 402 KiB | 5 Q