I would like to prevent XSS attack on my website using PHP.
I know that there are 3 functions which could basically prevent this attack, but I'm not sure which one should I use. I have seen other questions about this before, but I didn't get a CLEAR answer for this question.
Which one should I use, which one is the best on your opinion and why?