svn: /phpdoc/fr/trunk/reference/array/functions/ array-change-key-case.xml array-chunk.xml array-column.xml array-fill.xml array-filter.xml array-key-exists.xml array-key-first.xml array-key-last.xml array-map.xml array-pad.xml array-rand.xml array-replace-recursive.xml array-replace.xml array-search.xml array-slice.xml array-splice.xml array-unique.xml arsort.xml asort.xml compact.xml count.xml current.xml end.xml extract.xml key.xml krsort.xml ksort.xml next.xml prev.xml range.xml reset.xml rs
[email protected] (George Peter Banyard)
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
girgias Fri, 04 Dec 2020 19:13:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351882
Log:
Apply SVN revision 351860
Changed paths:
U phpdoc/fr/trunk/reference/array/functions/array-change-key-case.xml
U phpdoc/fr/trunk/reference/array/functions/array-chunk.xml
U phpdoc/fr/trunk/reference/array/functions/array-column.xml
U phpdoc/fr/trunk/reference/array/functions/array-fill.xml
U phpdoc/fr/trunk/reference/array/functions/array-filter.xml
U phpdoc/fr/trunk/reference/array/functions/array-key-exists.xml
U phpdoc/fr/trunk/reference/array/functions/array-key-first.xml
U phpdoc/fr/trunk/reference/array/functions/array-key-last.xml
U phpdoc/fr/trunk/reference/array/functions/array-map.xml
U phpdoc/fr/trunk/reference/array/functions/array-pad.xml
U phpdoc/fr/trunk/reference/array/functions/array-rand.xml
U phpdoc/fr/trunk/reference/array/functions/array-replace-recursive.xml
U phpdoc/fr/trunk/reference/array/functions/array-replace.xml
U phpdoc/fr/trunk/reference/array/functions/array-search.xml
U phpdoc/fr/trunk/reference/array/functions/array-slice.xml
U phpdoc/fr/trunk/reference/array/functions/array-splice.xml
U phpdoc/fr/trunk/reference/array/functions/array-unique.xml
U phpdoc/fr/trunk/reference/array/functions/arsort.xml
U phpdoc/fr/trunk/reference/array/functions/asort.xml
U phpdoc/fr/trunk/reference/array/functions/compact.xml
U phpdoc/fr/trunk/reference/array/functions/count.xml
U phpdoc/fr/trunk/reference/array/functions/current.xml
U phpdoc/fr/trunk/reference/array/functions/end.xml
U phpdoc/fr/trunk/reference/array/functions/extract.xml
U phpdoc/fr/trunk/reference/array/functions/key.xml
U phpdoc/fr/trunk/reference/array/functions/krsort.xml
U phpdoc/fr/trunk/reference/array/functions/ksort.xml
U phpdoc/fr/trunk/reference/array/functions/next.xml
U phpdoc/fr/trunk/reference/array/functions/prev.xml
U phpdoc/fr/trunk/reference/array/functions/range.xml
U phpdoc/fr/trunk/reference/array/functions/reset.xml
U phpdoc/fr/trunk/reference/array/functions/rsort.xml
U phpdoc/fr/trunk/reference/array/functions/sort.xml
U phpdoc/fr/trunk/reference/array/functions/uasort.xml
U phpdoc/fr/trunk/reference/array/functions/uksort.xml
U phpdoc/fr/trunk/reference/array/functions/usort.xml
svn-diffs-351882.txt
(text/x-diff, 63.8 KB)
Modified: phpdoc/fr/trunk/reference/array/functions/array-change-key-case.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-change-key-case.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-change-key-case.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 331477 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.array-change-key-case" xmlns="http://docbook.org/ns/docbook">
@@ -14,7 +14,7 @@
<methodsynopsis>
<type>array</type><methodname>array_change_key_case</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>case</parameter><initializer>CASE_LOWER</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>case</parameter><initializer><constant>CASE_LOWER</constant></initializer></methodparam>
</methodsynopsis>
<para>
Modifie les clés du tableau <parameter>array</parameter> et force leur casse.
@@ -105,7 +105,6 @@
</note>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-chunk.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-chunk.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-chunk.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.array-chunk" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_chunk</refname>
@@ -14,12 +13,12 @@
<methodsynopsis>
<type>array</type><methodname>array_chunk</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam><type>int</type><parameter>size</parameter></methodparam>
+ <methodparam><type>int</type><parameter>length</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
Sépare le tableau <parameter>array</parameter> en plusieurs tableaux comptant
- <parameter>size</parameter> éléments. Il est aussi possible que le dernier
+ <parameter>length</parameter> éléments. Il est aussi possible que le dernier
tableau contienne moins de valeurs.
</para>
</refsect1>
@@ -39,7 +38,7 @@
</varlistentry>
<varlistentry>
- <term><parameter>size</parameter></term>
+ <term><parameter>length</parameter></term>
<listitem>
<para>
La taille de chaque tableau
@@ -65,7 +64,7 @@
&reftitle.returnvalues;
<para>
Retourne un tableau multidimensionnel indexé numériquement, commençant à zéro,
- dont chaque dimension contient <parameter>size</parameter> éléments.
+ dont chaque dimension contient <parameter>length</parameter> éléments.
</para>
</refsect1>
@@ -72,7 +71,7 @@
<refsect1 role="errors">
&reftitle.errors;
<para>
- Si <parameter>size</parameter> est inférieur à 1, une alerte de niveau
+ Si <parameter>length</parameter> est inférieur à 1, une alerte de niveau
<constant>E_WARNING</constant> sera émise et &null; retournée.
</para>
</refsect1>
@@ -150,7 +149,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-column.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-column.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-column.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346011 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
-
<refentry xml:id="function.array-column" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_column</refname>
@@ -13,12 +12,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_column</methodname>
- <methodparam><type>array</type><parameter>input</parameter></methodparam>
- <methodparam><type>mixed</type><parameter>column_key</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>index_key</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam><type>array</type><parameter>array</parameter></methodparam>
+ <methodparam><type class="union"><type>int</type><type>string</type><type>null</type></type><parameter>column_key</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>string</type><type>null</type></type><parameter>index_key</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
- <function>array_column</function> retourne les valeurs d'une colonne de <parameter>input</parameter>, identifiée par la clé
+ <function>array_column</function> retourne les valeurs d'une colonne de <parameter>array</parameter>, identifiée par la clé
<parameter>column_key</parameter>. Optionnellement, vous pouvez fournir
un paramètre <parameter>index_key</parameter> pour indexer les valeurs
dans le tableau retourné par les valeurs de la colonne
@@ -30,7 +29,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>input</parameter></term>
+ <term><parameter>array</parameter></term>
<listitem>
<para>
Un tableau multi-dimensionnel ou un tableau d'objets à partir duquel
@@ -90,7 +89,7 @@
<row>
<entry>7.0.0</entry>
<entry>
- Ajout de la possibilité pour les <parameter>input</parameter>
+ Ajout de la possibilité pour les <parameter>array</parameter>
paramètres d'être un tableau ou un objet.
</entry>
</row>
@@ -291,7 +290,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-fill.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-fill.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-fill.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 335201 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.array-fill" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_fill</refname>
@@ -14,11 +13,11 @@
<methodsynopsis>
<type>array</type><methodname>array_fill</methodname>
<methodparam><type>int</type><parameter>start_index</parameter></methodparam>
- <methodparam><type>int</type><parameter>num</parameter></methodparam>
+ <methodparam><type>int</type><parameter>count</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
- Crée un tableau avec <parameter>num</parameter> entrées, toutes de valeur
+ Crée un tableau avec <parameter>count</parameter> entrées, toutes de valeur
<parameter>value</parameter>. Les index commencent à la valeur
<parameter>start_index</parameter>.
</para>
@@ -46,7 +45,7 @@
</varlistentry>
<varlistentry>
- <term><parameter>num</parameter></term>
+ <term><parameter>count</parameter></term>
<listitem>
<para>
Nombre d'éléments à insérer.
@@ -78,7 +77,7 @@
&reftitle.errors;
<para>
Lance une alerte de niveau <constant>E_WARNING</constant> si
- <parameter>num</parameter> est inférieur à &zero;.
+ <parameter>count</parameter> est inférieur à &zero;.
</para>
</refsect1>
@@ -97,8 +96,8 @@
<row>
<entry>5.6.0</entry>
<entry>
- <parameter>num</parameter> peut maintenant être &zero;. Précédemment,
- <parameter>num</parameter> devait être supérieur à &zero;.
+ <parameter>count</parameter> peut maintenant être &zero;. Précédemment,
+ <parameter>count</parameter> devait être supérieur à &zero;.
</entry>
</row>
</tbody>
@@ -168,7 +167,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-filter.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-filter.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-filter.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision $ -->
-<!-- EN-Revision: 350489 Maintainer: girgias Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: girgias Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.array-filter" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_filter</refname>
@@ -14,8 +13,8 @@
<methodsynopsis>
<type>array</type><methodname>array_filter</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam choice="opt"><type>callable</type><parameter>callback</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flag</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>callable</type><type>null</type></type><parameter>callback</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Évalue chaque valeur du tableau <parameter>array</parameter> en
@@ -61,7 +60,7 @@
</varlistentry>
<varlistentry>
- <term><parameter>flag</parameter></term>
+ <term><parameter>mode</parameter></term>
<listitem>
<para>
Drapeau indiquant quels sont les arguments à envoyer
@@ -110,9 +109,15 @@
</thead>
<tbody>
<row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>callback</parameter> est désormais nullable.
+ </entry>
+ </row>
+ <row>
<entry>5.6.0</entry>
<entry>
- Ajout du paramètre optionnel <parameter>flag</parameter>
+ Ajout du paramètre optionnel <parameter>mode</parameter>
et des constantes <constant>ARRAY_FILTER_USE_KEY</constant>
et <constant>ARRAY_FILTER_USE_BOTH</constant>
</entry>
@@ -207,7 +212,7 @@
</example>
<example>
<title>Exemple avec <function>array_filter</function> et
- <parameter>flag</parameter></title>
+ <parameter>mode</parameter></title>
<programlisting role="php">
<![CDATA[
<?php
@@ -266,7 +271,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-key-exists.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-key-exists.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-key-exists.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -3,8 +3,7 @@
<!-- $Revision$ -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
-
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.array-key-exists">
+<refentry xml:id="function.array-key-exists" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_key_exists</refname>
<refpurpose>Vérifie si une clé existe dans un tableau</refpurpose>
@@ -14,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>array_key_exists</methodname>
- <methodparam><type>mixed</type><parameter>key</parameter></methodparam>
+ <methodparam><type class="union"><type>string</type><type>int</type></type><parameter>key</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
</methodsynopsis>
<para>
@@ -135,7 +134,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-key-first.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-key-first.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-key-first.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347396 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: jbnahan Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="function.array-key-first" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>array_key_first</refname>
@@ -12,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>array_key_first</methodname>
+ <type class="union"><type>int</type><type>string</type><type>null</type></type><methodname>array_key_first</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
</methodsynopsis>
<para>
@@ -109,7 +108,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-key-last.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-key-last.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-key-last.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345342 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: jbnahan Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="function.array-key-last" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>array_key_last</refname>
@@ -12,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>array_key_last</methodname>
+ <type class="union"><type>int</type><type>string</type><type>null</type></type><methodname>array_key_last</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
</methodsynopsis>
<para>
@@ -52,7 +51,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-map.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-map.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-map.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351129 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
-
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.array-map">
+<refentry xml:id="function.array-map" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_map</refname>
<refpurpose>Applique une fonction sur les éléments d'un tableau</refpurpose>
@@ -14,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_map</methodname>
- <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
+ <methodparam><type class="union"><type>callable</type><type>null</type></type><parameter>callback</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
@@ -399,7 +398,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-pad.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-pad.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-pad.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 331477 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.array-pad">
+<refentry xml:id="function.array-pad" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_pad</refname>
<refpurpose>Complète un tableau avec une valeur jusqu'à la longueur spécifiée</refpurpose>
@@ -14,17 +13,17 @@
<methodsynopsis>
<type>array</type><methodname>array_pad</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam><type>int</type><parameter>size</parameter></methodparam>
+ <methodparam><type>int</type><parameter>length</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_pad</function> retourne une copie du tableau
<parameter>array</parameter> complétée jusqu'à la taille de
- <parameter>size</parameter> avec la valeur
+ <parameter>length</parameter> avec la valeur
<parameter>value</parameter>. Si
- <parameter>size</parameter> est positif, alors le tableau
+ <parameter>length</parameter> est positif, alors le tableau
est complété à droite, s'il est négatif, il est complété à gauche.
- Si la valeur absolue de <parameter>size</parameter> est plus
+ Si la valeur absolue de <parameter>length</parameter> est plus
petite que la taille du tableau <parameter>array</parameter>,
alors le tableau n'est pas complété.
Il est possible d'ajouter au maximum 1048576 éléments d'un seul coup.
@@ -44,7 +43,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>size</parameter></term>
+ <term><parameter>length</parameter></term>
<listitem>
<para>
Nouvelle taille du tableau.
@@ -56,7 +55,7 @@
<listitem>
<para>
Valeur à insérer si l'argument <parameter>array</parameter>
- est plus petit que l'argument <parameter>size</parameter>.
+ est plus petit que l'argument <parameter>length</parameter>.
</para>
</listitem>
</varlistentry>
@@ -69,11 +68,11 @@
<para>
Retourne une copie du tableau
<parameter>array</parameter> complétée jusqu'à la taille de
- <parameter>size</parameter> avec la valeur
+ <parameter>length</parameter> avec la valeur
<parameter>value</parameter>. Si
- <parameter>size</parameter> est positif, alors le tableau
+ <parameter>length</parameter> est positif, alors le tableau
est complété à droite, s'il est négatif, il est complété à gauche.
- Si la valeur absolue de <parameter>size</parameter> est plus
+ Si la valeur absolue de <parameter>length</parameter> est plus
petite que la taille du tableau <parameter>array</parameter>,
alors le tableau n'est pas complété.
</para>
@@ -113,7 +112,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-rand.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-rand.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-rand.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350939 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -12,7 +12,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>array_rand</methodname>
+ <type class="union"><type>int</type><type>string</type><type>array</type></type><methodname>array_rand</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>num</parameter><initializer>1</initializer></methodparam>
</methodsynopsis>
@@ -119,7 +119,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-replace-recursive.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-replace-recursive.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-replace-recursive.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351129 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.array-replace-recursive" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>array</type><methodname>array_replace_recursive</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>replacements</parameter></methodparam>
+ <methodparam rep="repeat"><type>array</type><parameter>replacements</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_replace_recursive</function> remplace les valeurs du tableau
@@ -167,7 +167,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-replace.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-replace.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-replace.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351129 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.array-replace" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>array</type><methodname>array_replace</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>replacements</parameter></methodparam>
+ <methodparam rep="repeat"><type>array</type><parameter>replacements</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_replace</function> remplace les valeurs du tableau
@@ -103,7 +103,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-search.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-search.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-search.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350655 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -12,7 +12,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>array_search</methodname>
+ <type class="union"><type>int</type><type>string</type><type>false</type></type><methodname>array_search</methodname>
<methodparam><type>mixed</type><parameter>needle</parameter></methodparam>
<methodparam><type>array</type><parameter>haystack</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>strict</parameter><initializer>&false;</initializer></methodparam>
@@ -111,7 +111,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-slice.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-slice.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-slice.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350645 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -15,7 +15,7 @@
<type>array</type><methodname>array_slice</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
@@ -208,7 +208,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-splice.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-splice.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-splice.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347729 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
-
<refentry xml:id="function.array-splice" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_splice</refname>
@@ -13,21 +12,21 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_splice</methodname>
- <methodparam><type>array</type><parameter role="reference">input</parameter></methodparam>
+ <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>count($input)</initializer></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>replacement</parameter><initializer>array()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>mixed</type><parameter>replacement</parameter><initializer>[]</initializer></methodparam>
</methodsynopsis>
<para>
<function>array_splice</function> supprime les éléments
désignés par <parameter>offset</parameter> et
- <parameter>length</parameter> du tableau <parameter>input</parameter> et
+ <parameter>length</parameter> du tableau <parameter>array</parameter> et
les remplacent par les éléments du tableau
<parameter>replacement</parameter>, si ce dernier est fourni.
</para>
<note>
<para>
- Les clés numériques dans <parameter>input</parameter> ne sont pas préservées.
+ Les clés numériques dans <parameter>array</parameter> ne sont pas préservées.
</para>
</note>
<note>
@@ -35,7 +34,7 @@
Si <parameter>replacement</parameter> n'est pas un tableau, il en
deviendra un par <link linkend="language.types.array.casting">transtypage</link>
(i.e. <code>(array) $replacement</code>). Cela peut produire des résultats
- innatendus lors de l'utilisation d'un objet ou &null; comme
+ inattendus lors de l'utilisation d'un objet ou &null; comme
paramètre <parameter>replacement</parameter>.
</simpara>
</note>
@@ -45,7 +44,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>input</parameter></term>
+ <term><parameter>array</parameter></term>
<listitem>
<para>
Le tableau d'entrée.
@@ -58,12 +57,12 @@
<para>
Si <parameter>offset</parameter> est positif, le début de la section
à supprimer sera à cette position en partant du début du tableau
- <parameter>input</parameter>.
+ <parameter>array</parameter>.
</para>
<para>
Si <parameter>offset</parameter> est négatif, le début de la section
à supprimer sera à cette position en partant de la fin du tableau
- <parameter>input</parameter>.
+ <parameter>array</parameter>.
</para>
</listitem>
</varlistentry>
@@ -116,7 +115,7 @@
</note>
<para>
Si <parameter>replacement</parameter> est seulement un élément il n'est pas
- néccessaire d'entourer l'élément avec <literal>array()</literal> ou des crochets,
+ nécessaire d'entourer l'élément avec <literal>array()</literal> ou des crochets,
à moins que l'élément ne soit lui-même un tableau, un objet ou &null;.
</para>
</listitem>
@@ -130,6 +129,29 @@
Retourne un &array; contenant les éléments extrait.
</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.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -240,7 +262,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/array-unique.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-unique.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/array-unique.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350654 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
-
<refentry xml:id="function.array-unique" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_unique</refname>
@@ -14,7 +13,7 @@
<methodsynopsis>
<type>array</type><methodname>array_unique</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_STRING</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_STRING</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>array_unique</function> extrait du tableau
@@ -23,7 +22,7 @@
</para>
<para>
Notez que les clés sont préservées. Si plusieurs éléments comparés
- sont égaux sous le <parameter>sort_flags</parameter> donné, alors la clé
+ sont égaux sous le <parameter>flags</parameter> donné, alors la clé
et la valeur du premier élément égal sera conservé.
</para>
<note>
@@ -48,10 +47,10 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sort_flags</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
- Le second paramètre optionnel <parameter>sort_flags</parameter>
+ Le second paramètre optionnel <parameter>flags</parameter>
peut être utilisé pour modifier le comportement du tri
en utilisant les valeurs suivantes :
</para>
@@ -106,9 +105,9 @@
<row>
<entry>7.2.0</entry>
<entry>
- Si <parameter>sort_flags</parameter> est <constant>SORT_STRING</constant>,
- précedement <parameter>array</parameter> était copié et les éléments
- non-unique était supprimé (sans compréser le tableau après), mais
+ Si <parameter>flags</parameter> est <constant>SORT_STRING</constant>,
+ précédemment <parameter>array</parameter> était copié et les éléments
+ non-unique était supprimé (sans compresser le tableau après), mais
maintenant un nouveau tableau est construit en ajoutant les éléments unique.
Par conséquence le résultat final peut avoir des index numérique différent.
</entry>
@@ -191,7 +190,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/arsort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/arsort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/arsort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 339490 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.arsort" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>arsort</refname>
@@ -13,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>arsort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_REGULAR</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>arsort</function> trie le tableau <parameter>array</parameter>
@@ -40,11 +39,11 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sort_flags</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Vous pouvez modifier le comportement de cette fonction en utilisant
- le paramètre optionnel <parameter>sort_flags</parameter>. Pour plus
+ le paramètre optionnel <parameter>flags</parameter>. Pour plus
de détails, voyez la fonction <function>sort</function>.
</para>
</listitem>
@@ -104,7 +103,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/asort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/asort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/asort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 339490 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.asort" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>asort</refname>
@@ -13,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>asort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_REGULAR</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>asort</function> trie le tableau <parameter>array</parameter>
@@ -37,11 +36,11 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sort_flags</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Vous pouvez modifier le comportement de cette fonction en utilisant
- le paramètre optionnel <parameter>sort_flags</parameter>. Pour plus
+ le paramètre optionnel <parameter>flags</parameter>. Pour plus
de détails, voyez le manuel pour la fonction <function>sort</function>.
</para>
</listitem>
@@ -101,7 +100,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/compact.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/compact.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/compact.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351129 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.compact" xmlns="http://docbook.org/ns/docbook">
@@ -12,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>compact</methodname>
- <methodparam><type>mixed</type><parameter>var_name</parameter></methodparam>
- <methodparam rep="repeat"><type>mixed</type><parameter>var_names</parameter></methodparam>
+ <methodparam><type class="union"><type>array</type><type>string</type></type><parameter>var_name</parameter></methodparam>
+ <methodparam rep="repeat"><type class="union"><type>array</type><type>string</type></type><parameter>var_names</parameter></methodparam>
</methodsynopsis>
<para>
Crée un tableau à partir de variables et de leur valeur.
@@ -145,7 +145,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/count.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/count.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/count.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346403 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
-
<refentry xml:id="function.count" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>count</refname>
@@ -13,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>count</methodname>
- <methodparam><type>mixed</type><parameter>array_or_countable</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>COUNT_NORMAL</initializer></methodparam>
+ <methodparam><type class="union"><type>Countable</type><type>array</type></type><parameter>value</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>COUNT_NORMAL</constant></initializer></methodparam>
</methodsynopsis>
<para>
Compte tous les éléments d'un tableau ou quelque chose d'un objet.
@@ -39,7 +38,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>array_or_countable</parameter></term>
+ <term><parameter>value</parameter></term>
<listitem>
<para>
Un tableau ou un objet <classname>Countable</classname>.
@@ -72,11 +71,11 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne le nombre d'éléments dans <parameter>array_or_countable</parameter>.
+ Retourne le nombre d'éléments dans <parameter>value</parameter>.
Quand le paramètre n'est ni un &array;, ni un &object; qui implémente
l'interface <classname>Countable</classname>, <literal>1</literal> sera retourné.
Il y a néanmoins une exception
- : si le paramètre <parameter>array_or_countable</parameter> vaut &null;,
+ : si le paramètre <parameter>value</parameter> vaut &null;,
<literal>0</literal> sera retourné.
</para>
</refsect1>
@@ -157,7 +156,7 @@
<entry>
<function>count</function> va maintenant générer un avertissement sur
des types dénombrables non valides sont passés au paramètre
- <parameter>array_or_countable</parameter>.
+ <parameter>value</parameter>.
</entry>
</row>
</tbody>
@@ -177,7 +176,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/current.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/current.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/current.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>current</methodname>
- <methodparam><type>array</type><parameter>array</parameter></methodparam>
+ <methodparam><type class="union"><type>array</type><type>object</type></type><parameter>array</parameter></methodparam>
</methodsynopsis>
<para>
Chaque tableau entretient un pointeur interne, qui est initialisé
@@ -132,7 +132,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/end.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/end.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/end.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345342 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.end" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>end</methodname>
- <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+ <methodparam><type class="union"><type>array</type><type>object</type></type><parameter role="reference">array</parameter></methodparam>
</methodsynopsis>
<para>
<function>end</function> déplace le pointeur interne du tableau
@@ -77,7 +77,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/extract.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/extract.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/extract.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343853 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -14,8 +14,8 @@
<methodsynopsis>
<type>int</type><methodname>extract</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>EXTR_OVERWRITE</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>prefix</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>EXTR_OVERWRITE</constant></initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>prefix</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Importe les variables dans la table des symboles.
@@ -331,7 +331,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/key.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/key.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/key.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 342894 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -12,8 +12,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>key</methodname>
- <methodparam><type>array</type><parameter>array</parameter></methodparam>
+ <type class="union"><type>int</type><type>string</type><type>null</type></type><methodname>key</methodname>
+ <methodparam><type class="union"><type>array</type><type>object</type></type><parameter>array</parameter></methodparam>
</methodsynopsis>
<para>
<function>key</function> retourne la clé courante dans le
@@ -119,7 +119,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/krsort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/krsort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/krsort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.krsort" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>krsort</refname>
@@ -13,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>krsort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_REGULAR</constant></initializer></methodparam>
</methodsynopsis>
<para>
<function>krsort</function> trie le tableau <parameter>array</parameter>
@@ -35,11 +34,11 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sort_flags</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Vous pouvez modifier le comportement de cette fonction en utilisant
- le paramètre optionnel <parameter>sort_flags</parameter>. Pour plus
+ le paramètre optionnel <parameter>flags</parameter>. Pour plus
de détails, voyez le manuel pour la fonction <function>sort</function>.
</para>
</listitem>
@@ -92,7 +91,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/ksort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/ksort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/ksort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.ksort" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ksort</refname>
@@ -13,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>ksort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_REGULAR</constant></initializer></methodparam>
</methodsynopsis>
<para>
Trie le tableau <parameter>array</parameter> suivant les clés,
@@ -35,11 +34,11 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sort_flags</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Vous pouvez modifier le comportement de cette fonction en utilisant
- le paramètre optionnel <parameter>sort_flags</parameter>. Pour plus
+ le paramètre optionnel <parameter>flags</parameter>. Pour plus
de détails, voyez le manuel pour la fonction <function>sort</function>.
</para>
</listitem>
@@ -95,7 +94,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/next.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/next.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/next.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>next</methodname>
- <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+ <methodparam><type class="union"><type>array</type><type>object</type></type><parameter role="reference">array</parameter></methodparam>
</methodsynopsis>
<para>
<function>next</function> se comporte comme
@@ -100,7 +100,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/prev.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/prev.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/prev.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>prev</methodname>
- <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+ <methodparam><type class="union"><type>array</type><type>object</type></type><parameter role="reference">array</parameter></methodparam>
</methodsynopsis>
<para>
Recule le pointeur courant de tableau.
@@ -92,7 +92,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/range.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/range.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/range.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351123 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.range" xmlns="http://docbook.org/ns/docbook">
@@ -12,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>range</methodname>
- <methodparam><type>mixed</type><parameter>start</parameter></methodparam>
- <methodparam><type>mixed</type><parameter>end</parameter></methodparam>
+ <methodparam><type class="union"><type>string</type><type>int</type><type>float</type></type><parameter>start</parameter></methodparam>
+ <methodparam><type class="union"><type>string</type><type>int</type><type>float</type></type><parameter>end</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>int</type><type>float</type></type><parameter>step</parameter><initializer>1</initializer></methodparam>
</methodsynopsis>
<para>
@@ -120,7 +120,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/reset.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/reset.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/reset.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA. -->
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>reset</methodname>
- <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+ <methodparam><type class="union"><type>array</type><type>object</type></type><parameter role="reference">array</parameter></methodparam>
</methodsynopsis>
<para>
<function>reset</function> replace le pointeur de tableau
@@ -102,7 +102,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/rsort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/rsort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/rsort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 339490 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.rsort" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>rsort</refname>
@@ -13,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>rsort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_REGULAR</constant></initializer></methodparam>
</methodsynopsis>
<para>
Effectue un tri en ordre décroissant (du plus grand au plus petit)
@@ -35,11 +34,11 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sort_flags</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Vous pouvez modifier le comportement de cette fonction en utilisant
- le paramètre optionnel <parameter>sort_flags</parameter>. Pour plus
+ le paramètre optionnel <parameter>flags</parameter>. Pour plus
de détails, voyez le manuel pour la fonction <function>sort</function>.
</para>
</listitem>
@@ -105,7 +104,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/sort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/sort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/sort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350645 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="function.sort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>sort</refname>
@@ -13,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>sort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>SORT_REGULAR</constant></initializer></methodparam>
</methodsynopsis>
<para>
Cette fonction trie le tableau <parameter>array</parameter>. Les
@@ -34,10 +33,10 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sort_flags</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
- Le paramètre optionnel <parameter>sort_flags</parameter>
+ Le paramètre optionnel <parameter>flags</parameter>
peut être utilisé pour modifier le comportement de tri en
utilisant ces valeurs :
</para>
@@ -180,7 +179,7 @@
<simpara>
Porter attention lors du tri des tableaux avec des valeurs de types
différents car <function>sort</function> peut produire des résultats
- imprévisible quand <parameter>sort_flags</parameter> est
+ imprévisible quand <parameter>flags</parameter> est
<constant>SORT_REGULAR</constant>.
</simpara>
</warning>
@@ -196,7 +195,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/uasort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/uasort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/uasort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 339490 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.uasort" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>bool</type><methodname>uasort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
</methodsynopsis>
<para>
Trie le tableau <parameter>array</parameter> en conservant la correspondance
@@ -42,7 +42,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>value_compare_func</parameter></term>
+ <term><parameter>callback</parameter></term>
<listitem>
<para>
Voyez les fonctions <function>usort</function> et
@@ -130,7 +130,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/uksort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/uksort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/uksort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 339490 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.uksort" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>bool</type><methodname>uksort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
</methodsynopsis>
<para>
<function>uksort</function> trie les clés du tableau <parameter>array</parameter>
@@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>key_compare_func</parameter></term>
+ <term><parameter>callback</parameter></term>
<listitem>
<para>
&return.callbacksort;
@@ -100,7 +100,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/array/functions/usort.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/usort.xml 2020-12-04 18:52:55 UTC (rev 351881)
+++ phpdoc/fr/trunk/reference/array/functions/usort.xml 2020-12-04 19:13:26 UTC (rev 351882)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351860 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.usort" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>bool</type><methodname>usort</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
- <methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
</methodsynopsis>
<para>
<function>usort</function> va trier le tableau <parameter>array</parameter>
@@ -38,7 +38,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>value_compare_func</parameter></term>
+ <term><parameter>callback</parameter></term>
<listitem>
<para>
&return.callbacksort;
@@ -250,7 +250,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml