Stream 函数
PHP 手册

stream_get_filters

(PHP 5)

stream_get_filtersRetrieve 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 函数
PHP 手册