Avatar

".email" email address error on sign up (General)

by Micha ⌂, Monday, August 28, 2017, 11:13 (2426 days ago) @ Auge

Hi,

  return (!filter_var($email, FILTER_VALIDATE_EMAIL) === false) && !contains_invalid_string($email);
}

2. What should be returned? The two functions can return three possible states (the functions (in this combination) returns one of the following states: true, false or a string).

No, only true or false are possible return values.

/Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences


Complete thread:

 RSS Feed of thread