Home » PHP » PHP Filters » Question
  1. If the input variable is a string like this “http://www.innnttteeerrrvvviiieeeewwwmaaanniiiiaaaa/”, the $url variable after the sanitizing will look like
    1. https://interviewmania.com/
    2. www.innnttteeerrrvvviiieeeewwwmaaanniiiiaaaa.com
    3. www.innnttterrrvvviewwwmaaanniiiiaaaa.com
    4. www.intterrrvvviewwmaaanniia.com
    5. None of these
Correct Option: A

Sanitize is nothing but take away invalid characters so therefore the invalid characters like å and ø will be removed.



Your comments will be displayed only after manual approval.