| @@ 3040-3049 (lines=10) @@ | ||
| 3037 | * |
|
| 3038 | * @return mixed |
|
| 3039 | */ |
|
| 3040 | public static function filter_var_array($data, $definition = null, $add_empty = true) |
|
| 3041 | { |
|
| 3042 | if (2 > func_num_args()) { |
|
| 3043 | $a = filter_var_array($data); |
|
| 3044 | } else { |
|
| 3045 | $a = filter_var_array($data, $definition, $add_empty); |
|
| 3046 | } |
|
| 3047 | ||
| 3048 | return self::filter($a); |
|
| 3049 | } |
|
| 3050 | ||
| 3051 | /** |
|
| 3052 | * "filter_input_array()"-wrapper with normalizes to UTF-8 NFC, converting from CP-1252 when needed. |
|
| @@ 3060-3069 (lines=10) @@ | ||
| 3057 | * |
|
| 3058 | * @return mixed |
|
| 3059 | */ |
|
| 3060 | public static function filter_input_array($type, $definition = null, $add_empty = true) |
|
| 3061 | { |
|
| 3062 | if (2 > func_num_args()) { |
|
| 3063 | $a = filter_input_array($type); |
|
| 3064 | } else { |
|
| 3065 | $a = filter_input_array($type, $definition, $add_empty); |
|
| 3066 | } |
|
| 3067 | ||
| 3068 | return self::filter($a); |
|
| 3069 | } |
|
| 3070 | ||
| 3071 | /** |
|
| 3072 | * Search a string for any of a set of characters. |
|