From 49b8860acebe5c93d577004a447d0bf68ec74964 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Thu, 1 Apr 2010 18:04:57 +0000 Subject: [PATCH] Add new full_special_chars filter to tests --- ext/filter/tests/008.phpt | 16 +++++++++------- ext/filter/tests/033.phpt | 2 ++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ext/filter/tests/008.phpt b/ext/filter/tests/008.phpt index 7ba42fa736..8a4340542f 100644 --- a/ext/filter/tests/008.phpt +++ b/ext/filter/tests/008.phpt @@ -11,7 +11,7 @@ var_dump(filter_list(array())); echo "Done\n"; ?> --EXPECTF-- -array(18) { +array(19) { [0]=> string(3) "int" [1]=> @@ -35,18 +35,20 @@ array(18) { [10]=> string(13) "special_chars" [11]=> - string(10) "unsafe_raw" + string(18) "full_special_chars" [12]=> - string(5) "email" + string(10) "unsafe_raw" [13]=> - string(3) "url" + string(5) "email" [14]=> - string(10) "number_int" + string(3) "url" [15]=> - string(12) "number_float" + string(10) "number_int" [16]=> - string(12) "magic_quotes" + string(12) "number_float" [17]=> + string(12) "magic_quotes" + [18]=> string(8) "callback" } diff --git a/ext/filter/tests/033.phpt b/ext/filter/tests/033.phpt index 143d0c10e5..04daa61333 100644 --- a/ext/filter/tests/033.phpt +++ b/ext/filter/tests/033.phpt @@ -4,6 +4,7 @@ Test all filters returned by filter_list() --INI-- precision=14 +default_charset=UTF-8 --FILE-- () O'Henry 하퍼 email PHP 1 foo@bar.com httpa.b.c 1.2.3.4 123 123abc O'Henry url PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O'Henry -- 2.40.0