Filter 函数
PHP Manual

filter_id

(PHP 5 >= 5.2.0)

filter_idReturns the filter ID belonging to a named filter

说明

int filter_id ( string $filtername )

参数

filtername

Name of a filter to get.

返回值

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

参见


Filter 函数
PHP Manual