3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = '<script></script>'; /*** sanitize the input ***/ $first_name = filter_var($foo, FILTER_SANITIZE_STRING); /*** assign the input ***/ $message = 'Thank you ' . $first_name;

preferences:
32.88 ms | 402 KiB | 5 Q