ID: 48042 Updated by: ras...@php.net Reported By: m dot vdhulst at puredutch dot nl -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: xp PHP Version: 5.2.9 New Comment:
Did you not read the comment on 47879? You can have single-letter top-levels in internal mail systems. Previous Comments: ------------------------------------------------------------------------ [2009-04-22 10:00:38] m dot vdhulst at puredutch dot nl Description: ------------ Some email addresses that are obviously wrong, pass the validation with FILTER_VALIDATE_EMAIL. You can not have a top level domain with one character only. as reported in bugreport http://bugs.php.net/bug.php?id=47879 nice to have the option to: select whether it has to check if its an internal address or a non internal address. Reproduce code: --------------- var_dump(filter_var("x...@y.z", FILTER_VALIDATE_EMAIL)); Expected result: ---------------- bool(false) Actual result: -------------- string(5) "x...@y.z" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48042&edit=1