3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo htmlentities("&lt;script&gt;alert('test');&lt;&frasl;script&gt;"); echo "\n"; echo htmlentities(strip_tags("<script>alert('test')</script>"));
Output for 4.3.0 - 7.2.0
&amp;lt;script&amp;gt;alert('test');&amp;lt;&amp;frasl;script&amp;gt; alert('test')