stream_get_filters Retrieve list of registered filters


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_get_contents
» stream_get_line
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3