array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.stream-get-filters.php', 1 => 'stream_get_filters', ), 'up' => array ( 0 => 'ref.stream.php', 1 => 'Funções de Fluxo', ), 'prev' => array ( 0 => 'function.stream-get-contents.php', 1 => 'stream_get_contents', ), 'next' => array ( 0 => 'function.stream-get-line.php', 1 => 'stream_get_line', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'pt_BR', 'path' => 'reference/stream/functions/stream-get-filters.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
stream_get_filters — Obtém lista de filtros registrados
Esta função não possui parâmetros.
Retorna um array indexado contendo o nome de todos os filtros de fluxo disponíveis.
Exemplo #1 Usando stream_get_filters()
<?php
$streamlist = stream_get_filters();
print_r($streamlist);
?>
O exemplo acima produzirá algo semelhante a:
Array ( [0] => string.rot13 [1] => string.toupper [2] => string.tolower [3] => string.base64 [4] => string.quoted-printable )