Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

Answer: a
Explanation: The FILTER_VALIDATE_EMAIL is used to validates an e-mail address.

Join The Discussion