Bug #52991 [Fbk->NoF]: wrong output

From: Date: Mon, 18 Feb 2013 00:34:31 +0000
Subject: Bug #52991 [Fbk->NoF]: wrong output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-176915@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=52991&edit=1 ID: 52991 Updated by: php-bugs@lists.php.net Reported by: oinam dot s at ldh dot 01s dot in Summary: wrong output -Status: Feedback +Status: No Feedback Type: Bug Package: Filter related Operating System: windows PHP Version: 5.3.3 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2010-10-07 04:09:13] aharvey@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ I can't reproduce this on any current 5.2, 5.3 or trunk build. ------------------------------------------------------------------------ [2010-10-05 11:32:30] oinam dot s at ldh dot 01s dot in 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=52991&edit=1

« previous php.bugs (#176915) next »