We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ffc0a commit 57d07deCopy full SHA for 57d07de
src/email.php
@@ -3,7 +3,7 @@
3
if (!function_exists('is_email')) {
4
function is_email($string)
5
{
6
- return filter_var($string, FILTER_VALIDATE_EMAIL);
+ return (bool) filter_var($string, FILTER_VALIDATE_EMAIL);
7
}
8
9
0 commit comments