| @@ 2973-2982 (lines=10) @@ | ||
| 2970 | * |
|
| 2971 | * @return mixed |
|
| 2972 | */ |
|
| 2973 | public static function filter_var_array($data, $definition = null, $add_empty = true) |
|
| 2974 | { |
|
| 2975 | if (2 > func_num_args()) { |
|
| 2976 | $a = filter_var_array($data); |
|
| 2977 | } else { |
|
| 2978 | $a = filter_var_array($data, $definition, $add_empty); |
|
| 2979 | } |
|
| 2980 | ||
| 2981 | return self::filter($a); |
|
| 2982 | } |
|
| 2983 | ||
| 2984 | /** |
|
| 2985 | * "filter_input_array()"-wrapper with normalizes to UTF-8 NFC, converting from CP-1252 when needed. |
|
| @@ 2993-3002 (lines=10) @@ | ||
| 2990 | * |
|
| 2991 | * @return mixed |
|
| 2992 | */ |
|
| 2993 | public static function filter_input_array($type, $definition = null, $add_empty = true) |
|
| 2994 | { |
|
| 2995 | if (2 > func_num_args()) { |
|
| 2996 | $a = filter_input_array($type); |
|
| 2997 | } else { |
|
| 2998 | $a = filter_input_array($type, $definition, $add_empty); |
|
| 2999 | } |
|
| 3000 | ||
| 3001 | return self::filter($a); |
|
| 3002 | } |
|
| 3003 | ||
| 3004 | /** |
|
| 3005 | * Search a string for any of a set of characters. |
|