diff options
author | Felipe Pena <felipe@php.net> | 2009-11-15 17:05:48 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2009-11-15 17:05:48 +0000 |
commit | 0e8c20106f010ce231f9feb49c89191f9ca05e68 (patch) | |
tree | d82ecdb59d6120f4fe5b01f236136c66f1fc4d82 | |
parent | ff62865fc0dc24ad8e018c0db5b9a7343b115d54 (diff) | |
download | php-git-0e8c20106f010ce231f9feb49c89191f9ca05e68.tar.gz |
- Improve test
-rw-r--r-- | ext/filter/tests/bug50158.phpt | 4 |
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" |