3v4l.org

run code in 200+ 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 - 7.2.0
%2Fblah%2Ffile%22%3C%2Fa%3E%3Cscript%3Ealert%28%22shit%22%29%3B%3C%2Fscript%3E%3Ca%2520href%3D%22%2Fblah%2Ffile