<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.stream.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'stream.filters.php',
    1 => 'Stream 过滤',
    2 => 'Stream 过滤',
  ),
  'up' => 
  array (
    0 => 'book.stream.php',
    1 => 'Stream',
  ),
  'prev' => 
  array (
    0 => 'stream.constants.php',
    1 => '预定义常量',
  ),
  'next' => 
  array (
    0 => 'stream.contexts.php',
    1 => 'Stream Contexts',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/stream/filters.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="stream.filters" class="chapter">
 <h1 class="title">Stream 过滤</h1>

 <p class="simpara">
  <code class="literal">filter</code> 是在流中执行读取或写入数据操作时的最后一段代码。可以将任意数量的过滤器堆叠到一个流上。可以在
  PHP 脚本中使用 <span class="function"><a href="function.stream-filter-register.php" class="function">stream_filter_register()</a></span> 或扩展定义自定义过滤器。要访问当前注册的过滤器列表，请使用
  <span class="function"><a href="function.stream-get-filters.php" class="function">stream_get_filters()</a></span>。
 </p>
</div>
<?php manual_footer($setup); ?>