3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo htmlspecialchars('<p> "some text & more text" </p>');
based on d0qrg
Output for 4.3.0 - 7.1.0
&lt;p&gt; &quot;some text &amp; more text&quot; &lt;/p&gt;