filter_var_array

Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Gets multiple variables and optionally filters them
<?php filter_var_array(array $array, array|int $options = FILTER_DEFAULT, bool $add_empty = true): array|false|null