|
@@ 1621-1630 (lines=10) @@
|
| 1618 |
|
* fails. |
| 1619 |
|
* @since 5.2.0 |
| 1620 |
|
*/ |
| 1621 |
|
public static function filter_input_array($type, $definition = null, $add_empty = true) |
| 1622 |
|
{ |
| 1623 |
|
if (2 > func_num_args()) { |
| 1624 |
|
$a = filter_input_array($type); |
| 1625 |
|
} else { |
| 1626 |
|
$a = filter_input_array($type, $definition, $add_empty); |
| 1627 |
|
} |
| 1628 |
|
|
| 1629 |
|
return self::filter($a); |
| 1630 |
|
} |
| 1631 |
|
|
| 1632 |
|
/** |
| 1633 |
|
* "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
@@ 1736-1745 (lines=10) @@
|
| 1733 |
|
* the variable is not set. |
| 1734 |
|
* @since 5.2.0 |
| 1735 |
|
*/ |
| 1736 |
|
public static function filter_var_array($data, $definition = null, $add_empty = true) |
| 1737 |
|
{ |
| 1738 |
|
if (2 > func_num_args()) { |
| 1739 |
|
$a = filter_var_array($data); |
| 1740 |
|
} else { |
| 1741 |
|
$a = filter_var_array($data, $definition, $add_empty); |
| 1742 |
|
} |
| 1743 |
|
|
| 1744 |
|
return self::filter($a); |
| 1745 |
|
} |
| 1746 |
|
|
| 1747 |
|
/** |
| 1748 |
|
* Check if the number of unicode characters are not more than the specified integer. |