<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/langref.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'wrappers.php',
    1 => 'サポートするプロトコル/ラッパー',
    2 => 'サポートするプロトコル/ラッパー',
  ),
  'up' => 
  array (
    0 => 'langref.php',
    1 => '言語リファレンス',
  ),
  'prev' => 
  array (
    0 => 'context.zlib.php',
    1 => 'Zlib コンテキストオプション',
  ),
  'next' => 
  array (
    0 => 'wrappers.file.php',
    1 => 'file://',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'language/wrappers.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/wrappers.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="wrappers" class="reference">
 <h1 class="title">サポートするプロトコル/ラッパー</h1>
 <div class="partintro">
  <p class="para">
   PHP には多くの組み込みラッパーが用意されています。さまざまな URL 風のプロトコルによって、
   <span class="function"><a href="function.fopen.php" class="function">fopen()</a></span> や <span class="function"><a href="function.copy.php" class="function">copy()</a></span>、
   <span class="function"><a href="function.file-exists.php" class="function">file_exists()</a></span> そして <span class="function"><a href="function.filesize.php" class="function">filesize()</a></span>
   といったファイルシステム関数で使用することができます。
   これらのラッパーだけでなく、
   <span class="function"><a href="function.stream-wrapper-register.php" class="function">stream_wrapper_register()</a></span>
   関数でラッパーを自作することもできます。
  </p>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <span class="simpara">
    ラッパーを指定する際の URL 構文としてサポートしているのは <code class="literal">scheme://...</code> 形式のみです。
    <code class="literal">scheme:/</code> や <code class="literal">scheme:</code>
    といった形式には対応していません。
   </span>
  </p></blockquote>
 </div>
 
 









 









 









 









 









 









 









 









 









 









 









 









 
<h2>目次</h2><ul class="chunklist chunklist_reference"><li><a href="wrappers.file.php">file://</a> — ローカルファイルシステムへのアクセス</li><li><a href="wrappers.http.php">http://</a> — HTTP(s) URL へのアクセス</li><li><a href="wrappers.ftp.php">ftp://</a> — FTP(s) URL へのアクセス</li><li><a href="wrappers.php.php">php://</a> — さまざまな入出力ストリームへのアクセス</li><li><a href="wrappers.compression.php">zlib://</a> — 圧縮ストリーム</li><li><a href="wrappers.data.php">data://</a> — データ (RFC 2397)</li><li><a href="wrappers.glob.php">glob://</a> — パターンにマッチするパス名の検索</li><li><a href="wrappers.phar.php">phar://</a> — PHP アーカイブ</li><li><a href="wrappers.ssh2.php">ssh2://</a> — Secure Shell 2</li><li><a href="wrappers.rar.php">rar://</a> — RAR</li><li><a href="wrappers.audio.php">ogg://</a> — オーディオストリーム</li><li><a href="wrappers.expect.php">expect://</a> — 対話的プロセスストリーム</li></ul>
</div>
<?php manual_footer($setup); ?>