$user_input = ""; echo encodeHTML($user_input);This will output "<script>alert('I am a hacker!');</script>" onto the webpage, which will render the script tags as harmless symbols rather than executing the script. encodeHTML is a function included in the standard PHP library, so no additional package or library is required to use it.