Added example for gzpassthru

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@177179 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2005-01-14 01:28:36 +00:00
parent 05ff7ab099
commit 515667fd0c

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry id="function.gzpassthru">
<refnamediv>
<refname>gzpassthru</refname>
@ -56,6 +56,23 @@
and passed through to the input, or &false; on error.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title><function>gzpassthru</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$fp = gzopen('file.gz', 'r');
gzpassthru($fp);
gzclose($fp);
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file