|
@@ 1086-1095 (lines=10) @@
|
| 1083 |
|
* fails. |
| 1084 |
|
* @since 5.2.0 |
| 1085 |
|
*/ |
| 1086 |
|
public static function filter_input_array(int $type, $definition = null, bool $add_empty = true) |
| 1087 |
|
{ |
| 1088 |
|
if (2 > \func_num_args()) { |
| 1089 |
|
$a = \filter_input_array($type); |
| 1090 |
|
} else { |
| 1091 |
|
$a = \filter_input_array($type, $definition, $add_empty); |
| 1092 |
|
} |
| 1093 |
|
|
| 1094 |
|
return self::filter($a); |
| 1095 |
|
} |
| 1096 |
|
|
| 1097 |
|
/** |
| 1098 |
|
* "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
@@ 1201-1210 (lines=10) @@
|
| 1198 |
|
* the variable is not set. |
| 1199 |
|
* @since 5.2.0 |
| 1200 |
|
*/ |
| 1201 |
|
public static function filter_var_array(array $data, $definition = null, bool $add_empty = true) |
| 1202 |
|
{ |
| 1203 |
|
if (2 > \func_num_args()) { |
| 1204 |
|
$a = \filter_var_array($data); |
| 1205 |
|
} else { |
| 1206 |
|
$a = \filter_var_array($data, $definition, $add_empty); |
| 1207 |
|
} |
| 1208 |
|
|
| 1209 |
|
return self::filter($a); |
| 1210 |
|
} |
| 1211 |
|
|
| 1212 |
|
/** |
| 1213 |
|
* Check if the number of unicode characters are not more than the specified integer. |