定義和用法
該filter_list ( )函數返回一個數組的所有受支持的過濾器。
語法
filter_list()
提示和說明 注:此結果並不功能的過濾器編號,但過濾器的名稱。使用filter_id ( )函數來得到過濾器編號
例如
輸出結果.
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 )