filter_id

PHP 5 >= 5.2.0, PHP 7, PHP 8
filter_id - Returns the filter ID belonging to a named filter
Manual

filter_id( string$name ): int|false

Parameters

name

Name of a filter to get.

Return Values

ID of a filter on success or false if filter doesn't exist.

Related Functions

Function filter_id:

  • Manual

Data Filtering Functions

Most used PHP functions