filter_input

Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Gets a specific external variable by name and optionally filters it
<?php filter_input(    int $type,    string $var_name,    int $filter = FILTER_DEFAULT,    array|int $options = 0): mixed