From: Felipe Pena Date: Sun, 15 Nov 2009 17:05:48 +0000 (+0000) Subject: - Improve test X-Git-Tag: php-5.3.2RC1~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64f530d182c4b49850fb0b333b6f083acf558a0e;p=php - Improve test --- diff --git a/ext/filter/tests/bug50158.phpt b/ext/filter/tests/bug50158.phpt index 4545cb06b0..fbe2ca3af1 100644 --- a/ext/filter/tests/bug50158.phpt +++ b/ext/filter/tests/bug50158.phpt @@ -12,8 +12,12 @@ var_dump(filter_var($email_address, FILTER_VALIDATE_EMAIL)); $email_address = "test+mail@example.com"; var_dump(filter_var($email_address, FILTER_VALIDATE_EMAIL)); +$email_address = "test?mail@example.com"; +var_dump(filter_var($email_address, FILTER_VALIDATE_EMAIL)); + ?> --EXPECTF-- %unicode|string%(21) "test=mail@example.com" %unicode|string%(21) "test-mail@example.com" %unicode|string%(21) "test+mail@example.com" +%unicode|string%(21) "test?mail@example.com"