3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
&amp;lt;script&amp;gt;alert('test');&amp;lt;&amp;frasl;script&amp;gt; alert('test')