|
@@ 1567-1576 (lines=10) @@
|
| 1564 |
|
* fails. |
| 1565 |
|
* @since 5.2.0 |
| 1566 |
|
*/ |
| 1567 |
|
public static function filter_input_array($type, $definition = null, $add_empty = true) |
| 1568 |
|
{ |
| 1569 |
|
if (2 > func_num_args()) { |
| 1570 |
|
$a = filter_input_array($type); |
| 1571 |
|
} else { |
| 1572 |
|
$a = filter_input_array($type, $definition, $add_empty); |
| 1573 |
|
} |
| 1574 |
|
|
| 1575 |
|
return self::filter($a); |
| 1576 |
|
} |
| 1577 |
|
|
| 1578 |
|
/** |
| 1579 |
|
* "filter_var()"-wrapper with normalizes to UTF-8 NFC, converting from WINDOWS-1252 when needed. |
|
@@ 1682-1691 (lines=10) @@
|
| 1679 |
|
* the variable is not set. |
| 1680 |
|
* @since 5.2.0 |
| 1681 |
|
*/ |
| 1682 |
|
public static function filter_var_array($data, $definition = null, $add_empty = true) |
| 1683 |
|
{ |
| 1684 |
|
if (2 > func_num_args()) { |
| 1685 |
|
$a = filter_var_array($data); |
| 1686 |
|
} else { |
| 1687 |
|
$a = filter_var_array($data, $definition, $add_empty); |
| 1688 |
|
} |
| 1689 |
|
|
| 1690 |
|
return self::filter($a); |
| 1691 |
|
} |
| 1692 |
|
|
| 1693 |
|
/** |
| 1694 |
|
* Check if the number of unicode characters are not more than the specified integer. |