Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/context.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = 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',
),
'up' =>
array (
0 => 'langref.php',
1 => 'Language Reference',
),
'prev' =>
array (
0 => 'serializable.unserialize.php',
1 => 'Serializable::unserialize',
),
'next' =>
array (
0 => 'context.socket.php',
1 => 'Socket context options',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<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
<a href="function.stream-context-create.php" class="function">stream_context_create()</a>. Options are set with
<a href="function.stream-context-set-option.php" class="function">stream_context_set_option()</a> and parameters with
<a href="function.stream-context-set-params.php" class="function">stream_context_set_params()</a>.
</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.curl.php">CURL context options</a> — CURL 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></ul>
</div>
<?php manual_footer(); ?>