|
@@ 1697-1706 (lines=10) @@
|
| 1694 |
|
* fails. |
| 1695 |
|
* @since 5.2.0 |
| 1696 |
|
*/ |
| 1697 |
|
public static function filter_input_array($type, $definition = null, $add_empty = true) |
| 1698 |
|
{ |
| 1699 |
|
if (2 > func_num_args()) { |
| 1700 |
|
$a = filter_input_array($type); |
| 1701 |
|
} else { |
| 1702 |
|
$a = filter_input_array($type, $definition, $add_empty); |
| 1703 |
|
} |
| 1704 |
|
|
| 1705 |
|
return self::filter($a); |
| 1706 |
|
} |
| 1707 |
|
|
| 1708 |
|
/** |
| 1709 |
|
* "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
@@ 1812-1821 (lines=10) @@
|
| 1809 |
|
* the variable is not set. |
| 1810 |
|
* @since 5.2.0 |
| 1811 |
|
*/ |
| 1812 |
|
public static function filter_var_array($data, $definition = null, $add_empty = true) |
| 1813 |
|
{ |
| 1814 |
|
if (2 > func_num_args()) { |
| 1815 |
|
$a = filter_var_array($data); |
| 1816 |
|
} else { |
| 1817 |
|
$a = filter_var_array($data, $definition, $add_empty); |
| 1818 |
|
} |
| 1819 |
|
|
| 1820 |
|
return self::filter($a); |
| 1821 |
|
} |
| 1822 |
|
|
| 1823 |
|
/** |
| 1824 |
|
* Check if the number of unicode characters are not more than the specified integer. |