3v4l.org

run code in 300+ PHP versions simultaneously
<?php highlight_string('<?php phpinfo(); ?>'); echo PHP_EOL,PHP_EOL; highlight_string('<?php echo \'<script>alert("xss");</script>\'; ?><script>alert(\'xss\');</script>'); echo PHP_EOL,PHP_EOL; highlight_string('<script>alert(\'xss\');</script>');

preferences:
29.28 ms | 404 KiB | 5 Q