summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-11-15 17:05:48 +0000
committerFelipe Pena <felipe@php.net>2009-11-15 17:05:48 +0000
commit0e8c20106f010ce231f9feb49c89191f9ca05e68 (patch)
treed82ecdb59d6120f4fe5b01f236136c66f1fc4d82
parentff62865fc0dc24ad8e018c0db5b9a7343b115d54 (diff)
downloadphp-git-0e8c20106f010ce231f9feb49c89191f9ca05e68.tar.gz
- Improve test
-rw-r--r--ext/filter/tests/bug50158.phpt4
1 files changed, 4 insertions, 0 deletions
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"