3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo urlencode('<script>alert(1);</script>');
based on LZokM
Output for 4.3.0 - 7.2.0
%3Cscript%3Ealert%281%29%3B%3C%2Fscript%3E