stream_get_filters

(PHP 5, PHP 7)
Retrieve list of registered filters
array stream_get_filters ( void )

Retrieve the list of registered filters on the running system.

Returns:

Returns an indexed array containing the name of all stream filters available.

Examples:
Using stream_get_filters()
<?php
$streamlist = stream_get_filters();
print_r($streamlist);
?>

The above example will output something similar to:

Array (
  [0] => string.rot13
  [1] => string.toupper
  [2] => string.tolower
  [3] => string.base64
  [4] => string.quoted-printable
)
See also:

stream_filter_register() -

stream_get_wrappers() -

doc_php
2016-02-24 16:06:55
Comments
Leave a Comment

Please login to continue.