Home > php教程 > php手册 > PHP filter_list 实例教程

PHP filter_list 实例教程

WBOY
Release: 2016-06-13 11:16:41
Original
1240 people have browsed it

 

定义和用法
该filter_list ( )函数返回一个数组的所有受支持的过滤器。

语法

filter_list()
Copy after login
Copy after login
Copy after login

提示和说明 注:此结果并不功能的过滤器编号,但过滤器的名称。使用filter_id ( )函数来得到过滤器编号

 

 

 

例如

 

<!--?phpprint_r(filter_list());?-->
Copy after login
 
Copy after login
Copy after login
输出结果.
Copy after login
 
Copy after login
Copy after login
Copy after login
Copy after login
Array ( [0] => int [1] => boolean [2] => float [3] => validate_regexp [4] => validate_url [5] => validate_email [6] => validate_ip [7] => string [8] => stripped [9] => encoded [10] => special_chars [11] => unsafe_raw [12] => email [13] => url [14] => number_int [15] => number_float [16] => magic_quotes [17] => callback )
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template