svn: /phpdoc/fr/trunk/reference/zlib/ functions/gzclose.xml functions/gzcompress.xml functions/gzdecode.xml functions/gzdeflate.xml functions/gzencode.xml functions/gzeof.xml functions/gzfile.xml functions/gzgetc.xml functions/gzgets.xml functions/gzinflate.xml functions/gzopen.xml functions/gzpassthru.xml functions/gzread.xml functions/gzrewind.xml functions/gzseek.xml functions/gztell.xml functions/gzuncompress.xml functions/gzwrite.xml functions/zlib-decode.xml functions/zlib-encode.xml funct
[email protected] (George Peter Banyard)
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
girgias Wed, 25 Nov 2020 02:08:29 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351625
Log:
Apply SVN revision 351613 onto French docs
Changed paths:
U phpdoc/fr/trunk/reference/zlib/functions/gzclose.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzcompress.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzdecode.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzdeflate.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzencode.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzeof.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzfile.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzgetc.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzgets.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzinflate.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzopen.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzpassthru.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzread.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzrewind.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzseek.xml
U phpdoc/fr/trunk/reference/zlib/functions/gztell.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzuncompress.xml
U phpdoc/fr/trunk/reference/zlib/functions/gzwrite.xml
U phpdoc/fr/trunk/reference/zlib/functions/zlib-decode.xml
U phpdoc/fr/trunk/reference/zlib/functions/zlib-encode.xml
U phpdoc/fr/trunk/reference/zlib/functions/zlib-get-coding-type.xml
U phpdoc/fr/trunk/reference/zlib/setup.xml
svn-diffs-351625.txt
(text/x-diff, 38.3 KB)
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzclose.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzclose.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzclose.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzclose" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzclose</refname>
@@ -12,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>gzclose</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
</methodsynopsis>
<para>
<function>gzclose</function> referme le fichier compressé
@@ -24,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier compressé. Il doit être valide et doit pointer
@@ -68,7 +67,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzcompress.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzcompress.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzcompress.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzcompress" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>gzcompress</refname>
@@ -11,10 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzcompress</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzcompress</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>ZLIB_ENCODING_DEFLATE</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_DEFLATE</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>gzcompress</function> compresse la chaîne donnée en utilisant
@@ -104,7 +103,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzdecode.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzdecode.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzdecode.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.gzdecode" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzdecode</refname>
@@ -11,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzdecode</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzdecode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Cette fonction retourne une version décodée des données
@@ -34,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>max_length</parameter></term>
<listitem>
<para>
La longueur maximale de données à décoder.
@@ -60,7 +59,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzdeflate.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzdeflate.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzdeflate.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzdeflate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>gzdeflate</refname>
@@ -11,10 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzdeflate</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzdeflate</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>ZLIB_ENCODING_RAW</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_RAW</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>gzdeflate</function> compresse la chaîne donnée en utilisant
@@ -98,7 +97,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzencode.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzencode.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzencode.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzencode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>gzencode</refname>
@@ -12,10 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzencode</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzencode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>encoding_mode</parameter><initializer>FORCE_GZIP</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_GZIP</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>gzencode</function> retourne la version compressée de la chaîne
@@ -52,7 +51,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>encoding_mode</parameter></term>
+ <term><parameter>encoding</parameter></term>
<listitem>
<para>
Le mode d'encodage. Peut être <constant>FORCE_GZIP</constant> (par défaut)
@@ -123,7 +122,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzeof.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzeof.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzeof.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzeof" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzeof</refname>
@@ -11,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>gzeof</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <type>bool</type><methodname>gzeof</methodname>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
</methodsynopsis>
<para>
Indique si la fin d'un fichier
@@ -25,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier gz. Il doit être valide et doit pointer
@@ -64,7 +63,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzfile.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzfile.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzfile.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337662 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzfile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzfile</refname>
@@ -11,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>gzfile</methodname>
+ <type class="union"><type>array</type><type>false</type></type><methodname>gzfile</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
@@ -50,7 +49,8 @@
&reftitle.returnvalues;
<para>
Un tableau contenant le fichier, une ligne par cellule ; les lignes
- vides sont incluses, et les nouvelles lignes sont tojours attachées.
+ vides sont incluses, et les nouvelles lignes sont toujours attachées,
+ &return.falseforfailure;.
</para>
</refsect1>
<refsect1 role="examples">
@@ -81,7 +81,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzgetc.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzgetc.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzgetc.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzgetc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzgetc</refname>
@@ -11,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzgetc</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzgetc</methodname>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
</methodsynopsis>
<para>
<function>gzgetc</function> retourne une chaîne contenant un seul
@@ -24,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier gz. Il doit être valide et doit pointer vers
@@ -72,7 +71,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzgets.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzgets.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzgets.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 333358 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzgets" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzgets</refname>
@@ -11,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzgets</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzgets</methodname>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>1024</initializer></methodparam>
</methodsynopsis>
<para>
<function>gzgets</function> retourne une chaîne non compressée,
@@ -29,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier gz. Il doit être valide et doit pointer vers
@@ -86,7 +85,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzinflate.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzinflate.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzinflate.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 332332 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzinflate" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzinflate</refname>
@@ -11,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzinflate</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzinflate</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
<function>gzinflate</function> décompresse une chaîne.
@@ -32,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>max_length</parameter></term>
<listitem>
<para>
La longueur maximale de données à décoder.
@@ -51,7 +50,7 @@
<function>gzinflate</function> retourne une erreur si la chaîne décompressée
est plus de 32768 fois plus longue que la chaîne compressée
<parameter>data</parameter> ou plus grande que la taille de
- <parameter>length</parameter> octets, passé comme paramètre optionnel.
+ <parameter>max_length</parameter> octets, passé comme paramètre optionnel.
</para>
</refsect1>
<refsect1 role="examples">
@@ -83,7 +82,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzopen.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzopen.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzopen.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzopen" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzopen</refname>
@@ -11,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>resource</type><methodname>gzopen</methodname>
+ <type class="union"><type>resource</type><type>false</type></type><methodname>gzopen</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
@@ -101,7 +100,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzpassthru.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzpassthru.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzpassthru.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzpassthru" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzpassthru</refname>
@@ -14,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>gzpassthru</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
</methodsynopsis>
<para>
<function>gzpassthru</function> lit les données restantes du fichier
@@ -42,7 +41,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier gz. Il doit être valide et doit pointer vers un
@@ -78,7 +77,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzread.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzread.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzread.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzread" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzread</refname>
@@ -11,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzread</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzread</methodname>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam><type>int</type><parameter>length</parameter></methodparam>
</methodsynopsis>
<para>
@@ -28,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier gz. Il doit être valide et doit pointer vers un
@@ -50,9 +49,33 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Les données qui ont été lues.
+ Les données qui ont été lues, &return.falseforfailure;.
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>7.4.0</entry>
+ <entry>
+ Cette fonction retourne désormais &false; en cas d'échec; auparavant
+ <literal>0</literal> était retourné.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -86,7 +109,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzrewind.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzrewind.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzrewind.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzrewind" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzrewind</refname>
@@ -12,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>gzrewind</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
</methodsynopsis>
<para>
<function>gzrewind</function> replace le pointeur de position du fichier
@@ -24,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier gz. Il doit être valide et doit pointer vers un
@@ -51,7 +50,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzseek.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzseek.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzseek.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzseek" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzseek</refname>
@@ -12,9 +11,9 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>gzseek</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer>SEEK_SET</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer><constant>SEEK_SET</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>gzseek</function> place le pointeur de lecture du fichier
@@ -35,7 +34,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier gz. Il doit être valide et doit pointer vers
@@ -105,7 +104,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gztell.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gztell.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gztell.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gztell" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gztell</refname>
@@ -11,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>gztell</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>gztell</methodname>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
</methodsynopsis>
<para>
<function>gztell</function> retourne la position du pointeur de
@@ -24,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier. Il doit être valide et doit pointer vers un
@@ -52,7 +51,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzuncompress.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzuncompress.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzuncompress.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzuncompress" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzuncompress</refname>
@@ -11,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gzuncompress</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gzuncompress</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
<function>gzuncompress</function> décompresse une chaîne compressée.
@@ -32,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>max_length</parameter></term>
<listitem>
<para>
La longueur maximale de données à décoder.
@@ -51,7 +50,7 @@
<function>gzuncompress</function> retourne une erreur
si la chaîne décompressée est 32768 fois plus longue que la chaîne compressée
<parameter>data</parameter> ou plus grande que la taille de
- <parameter>length</parameter> octets, passé comme paramètre optionnel.
+ <parameter>max_length</parameter> octets, passé comme paramètre optionnel.
</para>
</refsect1>
<refsect1 role="examples">
@@ -83,7 +82,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/gzwrite.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/gzwrite.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/gzwrite.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gzwrite" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzwrite</refname>
@@ -11,14 +10,14 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>gzwrite</methodname>
- <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
- <methodparam><type>string</type><parameter>string</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>gzwrite</methodname>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>gzwrite</function> écrit le contenu de la chaîne
- <parameter>string</parameter> dans le fichier compressé
+ <parameter>data</parameter> dans le fichier compressé
<parameter>zp</parameter>.
</para>
</refsect1>
@@ -27,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zp</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Le pointeur de fichier. Il doit être valide et doit pointer vers un
@@ -36,7 +35,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>string</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
La chaîne à écrire.
@@ -49,7 +48,7 @@
<para>
Le nombre d'octets décompressés à écrire. Si fournie, l'écriture
s'arrêtera après <parameter>length</parameter> (décompressé) octets écrits
- ou si la fin de la chaîne <parameter>string</parameter> est atteinte ;
+ ou si la fin de la chaîne <parameter>data</parameter> est atteinte ;
celui qui survient le premier.
</para>
<note>
@@ -58,7 +57,7 @@
est donné, alors l'option de configuration <link
linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>
sera ignoré et aucun slash ne sera supprimé de la chaîne
- <parameter>string</parameter>.
+ <parameter>data</parameter>.
</para>
</note>
</listitem>
@@ -69,9 +68,41 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne le nombre d'octets (décompressés) écrits dans le fichier gz donné.
+ Retourne le nombre d'octets (décompressés) écrits dans le flux gz
+ donné, &return.falseforfailure;.
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>length</parameter> est désormais nullable; auparavant la valeur
+ par défaut était <literal>0</literal>.
+ </entry>
+ </row>
+ <row>
+ <entry>7.4.0</entry>
+ <entry>
+ Cette fonction retourne désormais &false; en cas d'échec; auparavant
+ <literal>0</literal> était retourné.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -100,7 +131,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/zlib-decode.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/zlib-decode.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/zlib-decode.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.zlib-decode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>zlib_decode</refname>
@@ -14,7 +13,7 @@
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>zlib_decode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>max_decoded_len</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Décompresse des données encodées raw/gzip/zlib.
@@ -36,7 +35,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>max_decoded_len</parameter></term>
+ <term><parameter>max_length</parameter></term>
<listitem>
<para>
@@ -61,7 +60,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/zlib-encode.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/zlib-encode.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/zlib-encode.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343898 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.zlib-encode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>zlib_encode</refname>
@@ -12,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>zlib_encode</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>zlib_encode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>int</type><parameter>encoding</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
@@ -94,7 +93,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/functions/zlib-get-coding-type.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/functions/zlib-get-coding-type.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/functions/zlib-get-coding-type.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zlib-get-coding-type" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zlib_get_coding_type</refname>
@@ -11,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>zlib_get_coding_type</methodname>
- <void />
+ <type class="union"><type>string</type><type>false</type></type><methodname>zlib_get_coding_type</methodname>
+ <void/>
</methodsynopsis>
<para>
<function>zlib_get_coding_type</function> retourne la méthode
@@ -39,7 +38,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/zlib/setup.xml
===================================================================
--- phpdoc/fr/trunk/reference/zlib/setup.xml 2020-11-25 01:31:30 UTC (rev 351624)
+++ phpdoc/fr/trunk/reference/zlib/setup.xml 2020-11-25 02:08:29 UTC (rev 351625)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345437 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<chapter xml:id="zlib.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
@@ -32,6 +31,8 @@
<para>
Cette extension définit une ressource de fichier, retournée par la
fonction <function>gzopen</function>.
+ Antérieur à PHP 8.0.0, les ressources <literal>zlib.deflate</literal> et
+ <literal>zlib.inflate</literal> étaient aussi définies
</para>
</section>
<!-- }}} -->