|
@@ 1671-1680 (lines=10) @@
|
| 1668 |
|
* fails. |
| 1669 |
|
* @since 5.2.0 |
| 1670 |
|
*/ |
| 1671 |
|
public static function filter_input_array($type, $definition = null, $add_empty = true) |
| 1672 |
|
{ |
| 1673 |
|
if (2 > func_num_args()) { |
| 1674 |
|
$a = filter_input_array($type); |
| 1675 |
|
} else { |
| 1676 |
|
$a = filter_input_array($type, $definition, $add_empty); |
| 1677 |
|
} |
| 1678 |
|
|
| 1679 |
|
return self::filter($a); |
| 1680 |
|
} |
| 1681 |
|
|
| 1682 |
|
/** |
| 1683 |
|
* "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
@@ 1786-1795 (lines=10) @@
|
| 1783 |
|
* the variable is not set. |
| 1784 |
|
* @since 5.2.0 |
| 1785 |
|
*/ |
| 1786 |
|
public static function filter_var_array($data, $definition = null, $add_empty = true) |
| 1787 |
|
{ |
| 1788 |
|
if (2 > func_num_args()) { |
| 1789 |
|
$a = filter_var_array($data); |
| 1790 |
|
} else { |
| 1791 |
|
$a = filter_var_array($data, $definition, $add_empty); |
| 1792 |
|
} |
| 1793 |
|
|
| 1794 |
|
return self::filter($a); |
| 1795 |
|
} |
| 1796 |
|
|
| 1797 |
|
/** |
| 1798 |
|
* Check if the number of unicode characters are not more than the specified integer. |