filter_var('valid@email.com', FILTER_VALIDATE_EMAIL)//true filter_var('invalid@email', FILTER_VALIDATE_EMAIL)//false