When filtering an email address filter_var() will return the filtered data, in this case the email address, or false if a valid email address cannot be found:
var_dump(filter_var('
[email protected]', FILTER_VALIDATE_EMAIL));
var_dump(filter_var('notValidEmail', FILTER_VALIDATE_EMAIL));
Results:
...