3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $san = rawurlencode("/blah/file\"</a><script>alert(\"shit\");</script><a%20href=\"/blah/file"); echo $san;
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
%2Fblah%2Ffile%22%3C%2Fa%3E%3Cscript%3Ealert%28%22shit%22%29%3B%3C%2Fscript%3E%3Ca%2520href%3D%22%2Fblah%2Ffile
Output for hhvm-3.10.0

Process exited with code 153.