stream_get_filters
(PHP 5)
stream_get_filters — Retrieve list of registered filters
说明
array stream_get_filters ( void )Retrieve the list of registered filters on the running system.
返回值
Returns an indexed array containing the name of all stream filters available.
范例
Example #1 Using stream_get_filters() 以上例程的输出类似于:
<?php
$streamlist = stream_get_filters();
print_r($streamlist);
?>
Array (
[0] => string.rot13
[1] => string.toupper
[2] => string.tolower
[3] => string.base64
[4] => string.quoted-printable
)
参见
- stream_filter_register() - Register a user defined stream filter
- stream_get_wrappers() - Retrieve list of registered streams