|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-10-07 04:09 UTC] aharvey@php.net
-Status: Open
+Status: Feedback
[2010-10-07 04:09 UTC] aharvey@php.net
[2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 05:00:01 2025 UTC |
Description: ------------ When I test email using filter_var it gives incorrect output. Test script: --------------- <?php $email_c = 'oinam.s@ldh.01s.in'; if (filter_var($email_c, FILTER_VALIDATE_EMAIL)) { echo "This ($email_c) email address is considered valid."; } else { echo "This ( $email_c ) email address is considered invalid."; } ?> Expected result: ---------------- This script works fine give correct result on php 5.2.x not on 5.3.x Actual result: -------------- The following should be the actual output This ( oinam.s@ldh.01s.in ) email address is considered valid.