mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
05ff7ab099
commit
515667fd0c
1 changed files with 18 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue