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