Course Recommendation:
PHP filter_id() Function
Definition and Usage
The filter_id() function returns the ID number of the specified filter.
If successful, it returns the ID number of the filter. If the filter does not exist, it returns NULL.
SyntaxDescriptionfilter_id(
) | Parameter |
---|---|
Description |
filter_name Required. Specifies the filter to be obtained by ID number. It must be the filter name (not the filter ID name). filter_list() Function to get the names of all supported filters. |
Example
<?php echo(filter_id("validate_email")); ?>
Output similar to:
274