<?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 => 'en',
  ),
  'this' => 
  array (
    0 => 'context.php',
    1 => 'Context options and parameters',
    2 => 'Context options and parameters',
  ),
  'up' => 
  array (
    0 => 'langref.php',
    1 => 'Language Reference',
  ),
  'prev' => 
  array (
    0 => 'sensitiveparameter.construct.php',
    1 => 'SensitiveParameter::__construct',
  ),
  'next' => 
  array (
    0 => 'context.socket.php',
    1 => 'Socket context options',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'language/context.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/context.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="context" class="reference">
 <h1 class="title">Context options and parameters</h1>
 
 <div class="partintro">
  <p class="para">
   PHP offers various context options and parameters which can be used with all
   filesystem and stream wrappers. The context is created with
   <span class="function"><a href="function.stream-context-create.php" class="function">stream_context_create()</a></span>. Options are set with
   <span class="function"><a href="function.stream-context-set-option.php" class="function">stream_context_set_option()</a></span> and parameters with
   <span class="function"><a href="function.stream-context-set-params.php" class="function">stream_context_set_params()</a></span>.
  </p>
 </div>
 
 







 







 







 







 







 







 







 







<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="context.socket.php">Socket context options</a> — Socket context option listing</li><li><a href="context.http.php">HTTP context options</a> — HTTP context option listing</li><li><a href="context.ftp.php">FTP context options</a> — FTP context option listing</li><li><a href="context.ssl.php">SSL context options</a> — SSL context option listing</li><li><a href="context.phar.php">Phar context options</a> — Phar context option listing</li><li><a href="context.params.php">Context parameters</a> — Context parameter listing</li><li><a href="context.zip.php">Zip context options</a> — Zip context option listing</li><li><a href="context.zlib.php">Zlib context options</a> — Zlib context option listing</li></ul>
</div>
<?php manual_footer($setup); ?>