<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.stream.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.stream-get-filters.php',
    1 => 'stream_get_filters',
    2 => '获取已注册的数据流过滤器列表',
  ),
  'up' => 
  array (
    0 => 'ref.stream.php',
    1 => 'Stream 函数',
  ),
  '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' => 'zh',
    'path' => 'reference/stream/functions/stream-get-filters.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.stream-get-filters" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">stream_get_filters</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">stream_get_filters</span> &mdash; <span class="dc-title">获取已注册的数据流过滤器列表</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.stream-get-filters-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>stream_get_filters</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="simpara">
   获取当前运行系统中已注册的数据流过滤器列表。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.stream-get-filters-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.stream-get-filters-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   返回一个包含所有有效的数据流过滤器名字的索引数组。
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.stream-get-filters-examples">
  <h3 class="title">示例</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>示例 #1 使用 <span class="function"><strong>stream_get_filters()</strong></span></strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$streamlist </span><span style="color: #007700">= </span><span style="color: #0000BB">stream_get_filters</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$streamlist</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>以上示例的输出类似于：</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array (
  [0] =&gt; string.rot13
  [1] =&gt; string.toupper
  [2] =&gt; string.tolower
  [3] =&gt; string.base64
  [4] =&gt; string.quoted-printable
)</pre>
</div>
    </div>
   </div>
  </p>
 </div>

  
 <div class="refsect1 seealso" id="refsect1-function.stream-get-filters-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.stream-filter-register.php" class="function" rel="rdfs-seeAlso">stream_filter_register()</a> - Register a user defined stream filter</span></li>
   <li><span class="function"><a href="function.stream-get-wrappers.php" class="function" rel="rdfs-seeAlso">stream_get_wrappers()</a> - 获取已注册的流类型</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>