| @@ 1500-1509 (lines=10) @@ | ||
| 1497 | * |
|
| 1498 | * @return mixed |
|
| 1499 | */ |
|
| 1500 | public static function filter_input_array($type, $definition = null, $add_empty = true) |
|
| 1501 | { |
|
| 1502 | if (2 > func_num_args()) { |
|
| 1503 | $a = filter_input_array($type); |
|
| 1504 | } else { |
|
| 1505 | $a = filter_input_array($type, $definition, $add_empty); |
|
| 1506 | } |
|
| 1507 | ||
| 1508 | return self::filter($a); |
|
| 1509 | } |
|
| 1510 | ||
| 1511 | /** |
|
| 1512 | * "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
| @@ 1540-1549 (lines=10) @@ | ||
| 1537 | * |
|
| 1538 | * @return mixed |
|
| 1539 | */ |
|
| 1540 | public static function filter_var_array($data, $definition = null, $add_empty = true) |
|
| 1541 | { |
|
| 1542 | if (2 > func_num_args()) { |
|
| 1543 | $a = filter_var_array($data); |
|
| 1544 | } else { |
|
| 1545 | $a = filter_var_array($data, $definition, $add_empty); |
|
| 1546 | } |
|
| 1547 | ||
| 1548 | return self::filter($a); |
|
| 1549 | } |
|
| 1550 | ||
| 1551 | /** |
|
| 1552 | * Check if the number of unicode characters are not more than the specified integer. |
|