<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/appendices.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'filters.php',
    1 => '利用できるフィルタのリスト',
    2 => '利用できるフィルタのリスト',
  ),
  'up' => 
  array (
    0 => 'appendices.php',
    1 => '付録',
  ),
  'prev' => 
  array (
    0 => 'resource.php',
    1 => 'リソース型の一覧',
  ),
  'next' => 
  array (
    0 => 'filters.string.php',
    1 => '文字列フィルタ',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'appendices/filters.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/filters.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="filters" class="appendix">
 <h1 class="title">利用できるフィルタのリスト</h1>
<h2>目次</h2><ul class="chunklist chunklist_appendix"><li><a href="filters.string.php">文字列フィルタ</a></li><li><a href="filters.convert.php">変換フィルタ</a></li><li><a href="filters.compression.php">圧縮フィルタ</a></li><li><a href="filters.encryption.php">暗号化フィルタ</a></li></ul>

 <p class="para">
  以下は、<span class="function"><a href="function.stream-filter-append.php" class="function">stream_filter_append()</a></span> で利用できる
  組み込みフィルタのリストです。PHP のバージョンによっては
  このリスト以外のフィルタがあったり、このリストにあるフィルタが存在
  しなかったりするかもしれません。
 </p>

 <p class="para">
  <span class="function"><a href="function.stream-filter-append.php" class="function">stream_filter_append()</a></span>
  と <span class="function"><a href="function.stream-filter-prepend.php" class="function">stream_filter_prepend()</a></span> のちょっとした違いに
  ついて説明します。
  すべての PHP ストリームはその内部に小さな<em>読み込みバッファ</em>
  を持っており、ファイルシステムもしくは他のリソースから読み込まれた
  データはこのバッファに格納されます。このことで、データをより効率的に
  扱うことができるのです。リソースがストリームの内部バッファに
  取り込まれたら、アプリケーション側で準備ができているかどうかに
  かかわらずすぐにフィルタ処理が行われます。フィルタが
  <em>append</em> されていた場合、読み込みバッファに
  はいってきたデータはすぐにフィルタ処理されます。つまり、バッファの
  存在をまったく意識せずに扱えるということです。しかし、もしフィルタが
  <em>prepend</em> されていた場合、読み込みバッファにデータが
  入ってきた段階ではフィルタ処理<em>されません</em>。
  リソースから次のデータブロックが読み込まれるまで、フィルタ処理を
  待機するのです。
 </p>

 <p class="para">
  あなたが使っている PHP にどのようなフィルタが登録されているかを
  知るには、<span class="function"><a href="function.stream-get-filters.php" class="function">stream_get_filters()</a></span> を利用します。
 </p>

 

 

 

 

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