From 0e8c20106f010ce231f9feb49c89191f9ca05e68 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 15 Nov 2009 17:05:48 +0000 Subject: [PATCH] - Improve test --- ext/filter/tests/bug50158.phpt | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.40.0