|
@@ 1581-1590 (lines=10) @@
|
| 1578 |
|
* fails. |
| 1579 |
|
* @since 5.2.0 |
| 1580 |
|
*/ |
| 1581 |
|
public static function filter_input_array($type, $definition = null, $add_empty = true) |
| 1582 |
|
{ |
| 1583 |
|
if (2 > func_num_args()) { |
| 1584 |
|
$a = filter_input_array($type); |
| 1585 |
|
} else { |
| 1586 |
|
$a = filter_input_array($type, $definition, $add_empty); |
| 1587 |
|
} |
| 1588 |
|
|
| 1589 |
|
return self::filter($a); |
| 1590 |
|
} |
| 1591 |
|
|
| 1592 |
|
/** |
| 1593 |
|
* "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
@@ 1696-1705 (lines=10) @@
|
| 1693 |
|
* the variable is not set. |
| 1694 |
|
* @since 5.2.0 |
| 1695 |
|
*/ |
| 1696 |
|
public static function filter_var_array($data, $definition = null, $add_empty = true) |
| 1697 |
|
{ |
| 1698 |
|
if (2 > func_num_args()) { |
| 1699 |
|
$a = filter_var_array($data); |
| 1700 |
|
} else { |
| 1701 |
|
$a = filter_var_array($data, $definition, $add_empty); |
| 1702 |
|
} |
| 1703 |
|
|
| 1704 |
|
return self::filter($a); |
| 1705 |
|
} |
| 1706 |
|
|
| 1707 |
|
/** |
| 1708 |
|
* Check if the number of unicode characters are not more than the specified integer. |