PHP filter_id() Function
Complete PHP Filter Reference
Definition and Usage
The filter_id() function returns the ID number of a specified filter.
Returns the filter ID number on success, or NULL if the filter does not exist.
Syntax
| Parameter |
Description |
| filter_name |
Required. Specifies the filter to get the id from.
Must be a filter name (not a filter ID name), use the
filter_list() function for name of all supported filters |
Example
<?php
echo(filter_id("validate_email"));
?>
|
The output of the code should be:
Complete PHP Filter Reference
Stylus Studio® 2010 XML Enterprise Suite raises the bar for productivity in XML development tools.
Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive
XML toolset to tackle today's advanced XML data transformation and aggregation challenges.
|
- XML Pipeline Editor, Debugger and Code Generator
- DataDirect XML Converters
- XQuery Mapper, Editor, Debugger, and Profiler
- XSLT Mapper, Editor, Debugger, Designer, and Profiler
- Java and C# for .Net Code Generation
- XML Schema Designer With Documentation Generator
- XML Editor With Full XPath Integration
Download a free trial now
|
|