3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo htmlspecialchars(strip_tags('|< script>alert(\'xss\');</script>|'), ENT_QUOTES, 'UTF-8'); echo strip_tags('|\';alert(String.fromCharCode(88,83,83))//\';alert(String.fromCharCode(88,83,83))//"; alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//-- ></SCRIPT>">\'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>|');

preferences:
40.32 ms | 402 KiB | 5 Q