cvs: phpdoc-fr /reference/zlib/functions gzclose.xml gzcompress.xml gzdeflate.xml gzencode.xml gzeof.xml gzfile.xml gzgetc.xml gzgets.xml gzgetss.xml
gzinflate.xml gzseek.xml gzuncompress.xml gzwrite.xml

From: Date: Wed, 20 Apr 2005 02:38:47 +0000
Subject: cvs: phpdoc-fr /reference/zlib/functions gzclose.xml gzcompress.xml gzdeflate.xml gzencode.xml gzeof.xml gzfile.xml gzgetc.xml gzgets.xml gzgetss.xml
gzinflate.xml gzseek.xml gzuncompress.xml gzwrite.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3995@lists.php.net to get a copy of this message
jsgoupil Tue Apr 19 22:38:47 2005 EDT Modified files: /phpdoc-fr/reference/zlib/functions gzclose.xml gzcompress.xml gzdeflate.xml gzencode.xml gzeof.xml gzfile.xml gzgetc.xml gzgets.xml gzgetss.xml gzinflate.xml gzseek.xml gzuncompress.xml gzwrite.xml Log: sync with EN

http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzclose.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/zlib/functions/gzclose.xml diff -u phpdoc-fr/reference/zlib/functions/gzclose.xml:1.10 phpdoc-fr/reference/zlib/functions/gzclose.xml:1.11 --- phpdoc-fr/reference/zlib/functions/gzclose.xml:1.10 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzclose.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzclose"> <refnamediv> @@ -41,6 +41,23 @@ &return.success; </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzclose</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$gz = gzopen('somefile.gz','w9'); +gzputs ($gz, 'Je suis ajouté à somefile.gz'); +gzclose($gz); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzcompress.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc-fr/reference/zlib/functions/gzcompress.xml diff -u phpdoc-fr/reference/zlib/functions/gzcompress.xml:1.13 phpdoc-fr/reference/zlib/functions/gzcompress.xml:1.14 --- phpdoc-fr/reference/zlib/functions/gzcompress.xml:1.13 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzcompress.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzcompress"> <refnamediv> @@ -61,6 +61,22 @@ La chaîne compressée ou &false; si une erreur survient. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzcompress</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$compressed = gzcompress('Compresse moi', 9); +echo $compressed; +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzdeflate.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc-fr/reference/zlib/functions/gzdeflate.xml diff -u phpdoc-fr/reference/zlib/functions/gzdeflate.xml:1.14 phpdoc-fr/reference/zlib/functions/gzdeflate.xml:1.15 --- phpdoc-fr/reference/zlib/functions/gzdeflate.xml:1.14 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzdeflate.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzdeflate"> <refnamediv> @@ -56,6 +56,22 @@ La chaîne compressée ou &false; si une erreur survient. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzdeflate</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$compressed = gzdeflate('Compresse moi', 9); +echo $compressed; +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzencode.xml?r1=1.16&r2=1.17&ty=u Index: phpdoc-fr/reference/zlib/functions/gzencode.xml diff -u phpdoc-fr/reference/zlib/functions/gzencode.xml:1.16 phpdoc-fr/reference/zlib/functions/gzencode.xml:1.17 --- phpdoc-fr/reference/zlib/functions/gzencode.xml:1.16 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzencode.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzencode"> <refnamediv> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzeof.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/zlib/functions/gzeof.xml diff -u phpdoc-fr/reference/zlib/functions/gzeof.xml:1.11 phpdoc-fr/reference/zlib/functions/gzeof.xml:1.12 --- phpdoc-fr/reference/zlib/functions/gzeof.xml:1.11 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzeof.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzeof"> <refnamediv> @@ -40,6 +40,25 @@ ou si une erreur survient ; sinon, retourne &false;. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzeof</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$gz = gzopen('somefile.gz', 'r'); +while (!gzeof($gz)) { + echo gzgetc($gz); +} +gzclose($gz); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzfile.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/zlib/functions/gzfile.xml diff -u phpdoc-fr/reference/zlib/functions/gzfile.xml:1.10 phpdoc-fr/reference/zlib/functions/gzfile.xml:1.11 --- phpdoc-fr/reference/zlib/functions/gzfile.xml:1.10 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzfile.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzfile"> <refnamediv> @@ -51,6 +51,24 @@ Un tableau contenant le fichier, une ligne par cellule. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzfile</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$lines = gzfile('somefile.gz'); +foreach ($lines as $line) { + echo $line; +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzgetc.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc-fr/reference/zlib/functions/gzgetc.xml diff -u phpdoc-fr/reference/zlib/functions/gzgetc.xml:1.12 phpdoc-fr/reference/zlib/functions/gzgetc.xml:1.13 --- phpdoc-fr/reference/zlib/functions/gzgetc.xml:1.12 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzgetc.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzgetc"> <refnamediv> @@ -41,6 +41,25 @@ (contrairement à la fonction <function>gzeof</function>). </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzgetc</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$gz = gzopen('somefile.gz', 'r'); +while (!gzeof($gz)) { + echo gzgetc($gz); +} +gzclose($gz); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzgets.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/zlib/functions/gzgets.xml diff -u phpdoc-fr/reference/zlib/functions/gzgets.xml:1.10 phpdoc-fr/reference/zlib/functions/gzgets.xml:1.11 --- phpdoc-fr/reference/zlib/functions/gzgets.xml:1.10 Sat Jan 15 09:01:39 2005 +++ phpdoc-fr/reference/zlib/functions/gzgets.xml Tue Apr 19 22:38:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzgets"> <refnamediv> @@ -54,6 +54,26 @@ La chaîne décompressée ou &false; si une erreur survient. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzgets</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$handle = gzopen('somefile.gz', 'r'); +while (!gzeof($handle)) { + $buffer = gzgets($handle, 4096); + echo $buffer; +} +gzlose($handle); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzgetss.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc-fr/reference/zlib/functions/gzgetss.xml diff -u phpdoc-fr/reference/zlib/functions/gzgetss.xml:1.12 phpdoc-fr/reference/zlib/functions/gzgetss.xml:1.13 --- phpdoc-fr/reference/zlib/functions/gzgetss.xml:1.12 Sat Jan 15 09:01:38 2005 +++ phpdoc-fr/reference/zlib/functions/gzgetss.xml Tue Apr 19 22:38:46 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzgetss"> <refnamediv> @@ -87,6 +87,26 @@ </informaltable> </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzgetss</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$handle = gzopen('somefile.gz', 'r'); +while (!gzeof($handle)) { + $buffer = gzgetss($handle, 4096); + echo $buffer; +} +gzlose($handle); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzinflate.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/zlib/functions/gzinflate.xml diff -u phpdoc-fr/reference/zlib/functions/gzinflate.xml:1.11 phpdoc-fr/reference/zlib/functions/gzinflate.xml:1.12 --- phpdoc-fr/reference/zlib/functions/gzinflate.xml:1.11 Sat Jan 15 09:01:39 2005 +++ phpdoc-fr/reference/zlib/functions/gzinflate.xml Tue Apr 19 22:38:46 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzinflate"> <refnamediv> @@ -53,6 +53,23 @@ <parameter>length</parameter> octets, passé comme paramètre optionnel. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzinflate</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$compressed = gzdeflate('Compresse moi', 9); +$uncompressed = gzinflate($compressed); +echo $uncompressed; +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzseek.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/zlib/functions/gzseek.xml diff -u phpdoc-fr/reference/zlib/functions/gzseek.xml:1.11 phpdoc-fr/reference/zlib/functions/gzseek.xml:1.12 --- phpdoc-fr/reference/zlib/functions/gzseek.xml:1.11 Sat Jan 15 09:01:39 2005 +++ phpdoc-fr/reference/zlib/functions/gzseek.xml Tue Apr 19 22:38:46 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzseek"> <refnamediv> @@ -59,6 +59,24 @@ du fichier n'est pas considéré comme une erreur. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzseek</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$gz = gzopen('somefile.gz', 'r'); +gzseek($gz,2); +echo gzgetc($gz); +gzclose($gz); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzuncompress.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/zlib/functions/gzuncompress.xml diff -u phpdoc-fr/reference/zlib/functions/gzuncompress.xml:1.10 phpdoc-fr/reference/zlib/functions/gzuncompress.xml:1.11 --- phpdoc-fr/reference/zlib/functions/gzuncompress.xml:1.10 Sat Jan 15 09:01:39 2005 +++ phpdoc-fr/reference/zlib/functions/gzuncompress.xml Tue Apr 19 22:38:46 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzuncompress"> <refnamediv> @@ -53,6 +53,23 @@ <parameter>length</parameter> octets, passé comme paramètre optionnel. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzuncompress</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$compressed = gzcompress('Compresse moi', 9); +$uncompressed = gzuncompress($compressed); +echo $uncompressed; +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/zlib/functions/gzwrite.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc-fr/reference/zlib/functions/gzwrite.xml diff -u phpdoc-fr/reference/zlib/functions/gzwrite.xml:1.13 phpdoc-fr/reference/zlib/functions/gzwrite.xml:1.14 --- phpdoc-fr/reference/zlib/functions/gzwrite.xml:1.13 Sat Jan 15 09:01:39 2005 +++ phpdoc-fr/reference/zlib/functions/gzwrite.xml Tue Apr 19 22:38:46 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.gzwrite"> <refnamediv> @@ -71,6 +71,24 @@ Retourne le nombre d'octets (décompressés) écris dans le fichier gz donné. </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple <function>gzwrite</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$string = 'Quelques informations à compresser'; +$gz = gzopen('somefile.gz','w9'); +gzwrite($gz, $string); +gzclose($gz); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para>
« previous php.doc.fr (#3995) next »