| @@ 2472-2481 (lines=10) @@ | ||
| 2469 | * |
|
| 2470 | * @return mixed |
|
| 2471 | */ |
|
| 2472 | public static function filter_input_array($type, $definition = null, $add_empty = true) |
|
| 2473 | { |
|
| 2474 | if (2 > func_num_args()) { |
|
| 2475 | $a = filter_input_array($type); |
|
| 2476 | } else { |
|
| 2477 | $a = filter_input_array($type, $definition, $add_empty); |
|
| 2478 | } |
|
| 2479 | ||
| 2480 | return self::filter($a); |
|
| 2481 | } |
|
| 2482 | ||
| 2483 | /** |
|
| 2484 | * "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
| @@ 2512-2521 (lines=10) @@ | ||
| 2509 | * |
|
| 2510 | * @return mixed |
|
| 2511 | */ |
|
| 2512 | public static function filter_var_array($data, $definition = null, $add_empty = true) |
|
| 2513 | { |
|
| 2514 | if (2 > func_num_args()) { |
|
| 2515 | $a = filter_var_array($data); |
|
| 2516 | } else { |
|
| 2517 | $a = filter_var_array($data, $definition, $add_empty); |
|
| 2518 | } |
|
| 2519 | ||
| 2520 | return self::filter($a); |
|
| 2521 | } |
|
| 2522 | ||
| 2523 | /** |
|
| 2524 | * Check if the number of unicode characters are not more than the specified integer. |
|