|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-24 13:37 UTC] aharvey@php.net
-Status: Open
+Status: Bogus
[2010-06-24 13:37 UTC] aharvey@php.net
[2010-06-24 15:52 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 06:00:01 2025 UTC |
Description: ------------ Email validation fail with php embed function filter_var. The code below validate an email like user@domain without any TLD Test script: --------------- $email = filter_var('user@domain', FILTER_VALIDATE_EMAIL); if($email === false) { return false; } Expected result: ---------------- Email should be not valid Actual result: -------------- Email pas the validation filter