3 ms·
There's a very nice function in PHP that validates emails. filter_var('foo@bar.com', FILTER_VALIDATE_EMAIL); The actual beast: https://github.com/php/php-src/
by dutchbrit 14y ago
There's a very nice function in PHP that validates emails.
filter_var('foo@bar.com', FILTER_VALIDATE_EMAIL);
The actual beast: https://github.com/php/php-src/blob/master/ext/filter/logical_filters.c#L499 https://github.com/php/php-src/blob/master/ext/filter/logica...