3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(htmlentities('<script>alert(111);</script>'));
based on tVOe6
Output for 4.3.0 - 7.1.0
string(40) "&lt;script&gt;alert(111);&lt;/script&gt;"