cvs: phpdoc /en/reference/zlib/functions gzpassthru.xml

From: Date: Fri, 14 Jan 2005 01:28:37 +0000
Subject: cvs: phpdoc /en/reference/zlib/functions gzpassthru.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365961@lists.php.net to get a copy of this message
didou Thu Jan 13 20:28:37 2005 EDT Modified files: /phpdoc/en/reference/zlib/functions gzpassthru.xml Log: Added example for gzpassthru http://cvs.php.net/diff.php/phpdoc/en/reference/zlib/functions/gzpassthru.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/zlib/functions/gzpassthru.xml diff -u phpdoc/en/reference/zlib/functions/gzpassthru.xml:1.5 phpdoc/en/reference/zlib/functions/gzpassthru.xml:1.6 --- phpdoc/en/reference/zlib/functions/gzpassthru.xml:1.5 Thu Jan 13 20:15:52 2005 +++ phpdoc/en/reference/zlib/functions/gzpassthru.xml Thu Jan 13 20:28:36 2005 @@ -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

« previous php.doc (#969365961) next »