filter_id

Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Returns the filter ID belonging to a named filter
<?php filter_id(string $name): int|false