|
@@ 1651-1660 (lines=10) @@
|
| 1648 |
|
* fails. |
| 1649 |
|
* @since 5.2.0 |
| 1650 |
|
*/ |
| 1651 |
|
public static function filter_input_array($type, $definition = null, $add_empty = true) |
| 1652 |
|
{ |
| 1653 |
|
if (2 > func_num_args()) { |
| 1654 |
|
$a = filter_input_array($type); |
| 1655 |
|
} else { |
| 1656 |
|
$a = filter_input_array($type, $definition, $add_empty); |
| 1657 |
|
} |
| 1658 |
|
|
| 1659 |
|
return self::filter($a); |
| 1660 |
|
} |
| 1661 |
|
|
| 1662 |
|
/** |
| 1663 |
|
* "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
@@ 1766-1775 (lines=10) @@
|
| 1763 |
|
* the variable is not set. |
| 1764 |
|
* @since 5.2.0 |
| 1765 |
|
*/ |
| 1766 |
|
public static function filter_var_array($data, $definition = null, $add_empty = true) |
| 1767 |
|
{ |
| 1768 |
|
if (2 > func_num_args()) { |
| 1769 |
|
$a = filter_var_array($data); |
| 1770 |
|
} else { |
| 1771 |
|
$a = filter_var_array($data, $definition, $add_empty); |
| 1772 |
|
} |
| 1773 |
|
|
| 1774 |
|
return self::filter($a); |
| 1775 |
|
} |
| 1776 |
|
|
| 1777 |
|
/** |
| 1778 |
|
* Check if the number of unicode characters are not more than the specified integer. |