]> granicus.if.org Git - php/commitdiff
- Improve test
authorFelipe Pena <felipe@php.net>
Sun, 15 Nov 2009 17:05:48 +0000 (17:05 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 15 Nov 2009 17:05:48 +0000 (17:05 +0000)
ext/filter/tests/bug50158.phpt

index 4545cb06b062442979305b66d9b6c10ce72bc797..fbe2ca3af1161601c1efc72200cc57f2f2220307 100644 (file)
@@ -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"