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/ref.zlib.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.zlib.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'ref.zlib.php',
1 => 'Zlib Functions',
),
'up' =>
array (
0 => 'book.zlib.php',
1 => 'Zlib Compression',
),
'prev' =>
array (
0 => 'zlib.examples.php',
1 => 'Examples',
),
'next' =>
array (
0 => 'function.gzclose.php',
1 => 'gzclose',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">Zlib Functions</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.gzclose.php">gzclose</a> — Close an open gz-file pointer</li><li><a href="function.gzcompress.php">gzcompress</a> — Compress a string</li><li><a href="function.gzdecode.php">gzdecode</a> — Decodes a gzip compressed string</li><li><a href="function.gzdeflate.php">gzdeflate</a> — Deflate a string</li><li><a href="function.gzencode.php">gzencode</a> — Create a gzip compressed string</li><li><a href="function.gzeof.php">gzeof</a> — Test for EOF on a gz-file pointer</li><li><a href="function.gzfile.php">gzfile</a> — Read entire gz-file into an array</li><li><a href="function.gzgetc.php">gzgetc</a> — Get character from gz-file pointer</li><li><a href="function.gzgets.php">gzgets</a> — Get line from file pointer</li><li><a href="function.gzgetss.php">gzgetss</a> — Get line from gz-file pointer and strip HTML tags</li><li><a href="function.gzinflate.php">gzinflate</a> — Inflate a deflated string</li><li><a href="function.gzopen.php">gzopen</a> — Open gz-file</li><li><a href="function.gzpassthru.php">gzpassthru</a> — Output all remaining data on a gz-file pointer</li><li><a href="function.gzputs.php">gzputs</a> — Alias of gzwrite</li><li><a href="function.gzread.php">gzread</a> — Binary-safe gz-file read</li><li><a href="function.gzrewind.php">gzrewind</a> — Rewind the position of a gz-file pointer</li><li><a href="function.gzseek.php">gzseek</a> — Seek on a gz-file pointer</li><li><a href="function.gztell.php">gztell</a> — Tell gz-file pointer read/write position</li><li><a href="function.gzuncompress.php">gzuncompress</a> — Uncompress a compressed string</li><li><a href="function.gzwrite.php">gzwrite</a> — Binary-safe gz-file write</li><li><a href="function.readgzfile.php">readgzfile</a> — Output a gz-file</li><li><a href="function.zlib-get-coding-type.php">zlib_get_coding_type</a> — Returns the coding type used for output compression</li></ul>
</div>
<?php manual_footer(); ?>