To validate an email address, which flag is to be passed to the function filter_var()?
(a) FILTER_VALIDATE_EMAIL
(b) FILTER_VALIDATE_MAIL
(c) VALIDATE_EMAIL
(d) VALIDATE_MAIL
This question was posed to me in an online interview.
This question is from HTML Forms topic in section File and Session Handling in PHP of PHP