Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stream_get_contentsstream_get_line>
^Stream FunctionsLast updated: Mon, 26 Oct 2026

stream_get_filters

(PHP 5, PHP 7, PHP 8)

stream_get_filters — Retrieve list of registered filters

Description

function stream_get_filters(): array

Retrieve the list of registered filters on the running system.

Parameters

This function has no parameters.

Return Values

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

Examples

Example #1 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_get_contentsstream_get_line>
^Stream FunctionsLast updated: Mon, 26 Oct 2026