cvs: phpdoc-fr /reference/array/functions current.xml next.xml prev.xml
| From: | Jean-S�bastien Goupil | Date: | Mon, 05 Jun 2006 17:11:23 +0000 |
| Subject: | cvs: phpdoc-fr /reference/array/functions current.xml next.xml prev.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-4934@lists.php.net to get a copy of this message | ||
jsgoupil Mon Jun 5 17:11:23 2006 UTC
Modified files:
/phpdoc-fr/reference/array/functions current.xml next.xml prev.xml
Log:
Sync with EN
http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/array/functions/current.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc-fr/reference/array/functions/current.xml
diff -u phpdoc-fr/reference/array/functions/current.xml:1.13
phpdoc-fr/reference/array/functions/current.xml:1.14
--- phpdoc-fr/reference/array/functions/current.xml:1.13 Sat Apr 8 12:35:49 2006
+++ phpdoc-fr/reference/array/functions/current.xml Mon Jun 5 17:11:23 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
-<!-- EN-Revision: 1.10 Maintainer: didou Status: ready -->
+<!-- $Revision: 1.14 $ -->
+<!-- EN-Revision: 1.11 Maintainer: didou Status: ready -->
<refentry id="function.current">
<refnamediv>
@@ -24,21 +24,19 @@
<function>current</function> ne déplace pas le pointeur.
Si le pointeur est au-delà du dernier élément de la liste,
<function>current</function> retourne &false;.
- <warning>
- <para>
- Si le tableau contient des éléments vides ou des zéros (0 ou "",
- la chaîne vide) alors <function>current</function> retournera
- une valeur qui sera évaluée à &false; pour ces éléments
- (voir <link linkend="language.types.boolean.casting">la conversion en
booléen</link>
- et <link linkend="types.comparisons">les tables de comparaison de
types</link>
- pour plus d'informations). Il est donc impossible de déterminer
- si vous êtes réellement à la fin de la liste en utilisant la fonction
- <function>current</function>. Pour passer en revue proprement un
- tableau qui peut contenir des éléments vides ou des zéros,
- utilisez la fonction <function>each</function>.
- </para>
- </warning>
</para>
+
+ &return.falseproblem;
+
+ <note>
+ <simpara>
+ Vous ne serez pas capable de distinguer la fin d'un tableau avec
+ l'élément booléen &false;. Pour traverser correctement un tableau qui
+ peut contenir l'élément &false;, voyez la fonction
+ <function>each</function>.
+ </simpara>
+ </note>
+
<para>
<example>
<title>Exemple avec <function>current</function></title>
@@ -62,8 +60,9 @@
<function>end</function>,
<function>key</function>,
<function>next</function>,
- <function>prev</function> et
- <function>reset</function>.
+ <function>prev</function>,
+ <function>reset</function>, et
+ <function>each</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/array/functions/next.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc-fr/reference/array/functions/next.xml
diff -u phpdoc-fr/reference/array/functions/next.xml:1.13
phpdoc-fr/reference/array/functions/next.xml:1.14
--- phpdoc-fr/reference/array/functions/next.xml:1.13 Sat Apr 8 12:35:49 2006
+++ phpdoc-fr/reference/array/functions/next.xml Mon Jun 5 17:11:23 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
-<!-- EN-Revision: 1.8 Maintainer: didou Status: ready -->
+<!-- $Revision: 1.14 $ -->
+<!-- EN-Revision: 1.9 Maintainer: didou Status: ready -->
<refentry id="function.next">
<refnamediv>
@@ -26,18 +26,19 @@
pointeur interne de tableau d'un élément avant de retourner la
valeur qu'il pointe. Lorsque le pointeur dépasse le dernier
élément, <function>next</function> retourne &false;.
- <warning>
- <para>
- Si le tableau contient des éléments vides ou des zéros,
- <function>next</function> retournera une valeur qui sera évaluée à &false;
- pour ces éléments (voir <link linkend="language.types.boolean.casting">la
- conversion en booléen</link> et <link linkend="types.comparisons">les
tables
- de comparaison de types</link> pour plus d'informations).
- Pour passer proprement en revue un tableau de ce genre, il faut
- utiliser <function>each</function>.
- </para>
- </warning>
</para>
+
+ &return.falseproblem;
+
+ <note>
+ <simpara>
+ Vous ne serez pas capable de distinguer la fin d'un tableau avec
+ l'élément booléen &false;. Pour traverser correctement un tableau qui
+ peut contenir l'élément &false;, voyez la fonction
+ <function>each</function>.
+ </simpara>
+ </note>
+
<para>
<example>
<title>Exemple avec <function>next</function> et ses amies</title>
@@ -59,8 +60,9 @@
Voir aussi
<function>current</function>,
<function>end</function>,
- <function>prev</function> et
- <function>reset</function>.
+ <function>prev</function>,
+ <function>reset</function>,
+ <function>each</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/array/functions/prev.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc-fr/reference/array/functions/prev.xml
diff -u phpdoc-fr/reference/array/functions/prev.xml:1.13
phpdoc-fr/reference/array/functions/prev.xml:1.14
--- phpdoc-fr/reference/array/functions/prev.xml:1.13 Sat Apr 8 12:35:49 2006
+++ phpdoc-fr/reference/array/functions/prev.xml Mon Jun 5 17:11:23 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
-<!-- EN-Revision: 1.8 Maintainer: didou Status: ready -->
+<!-- $Revision: 1.14 $ -->
+<!-- EN-Revision: 1.9 Maintainer: didou Status: ready -->
<refentry id="function.prev">
<refnamediv>
@@ -18,17 +18,19 @@
<parameter>array</parameter> à la dernière place qu'il occupait et en
retourne la valeur, ou bien elle retourne &false; s'il ne reste plus
d'éléments.
- <warning>
- <para>
- Si le tableau contient des éléments vides,
- <function>prev</function> retournera une valeur qui sera évaluée à &false;
- pour ces éléments (voir <link linkend="language.types.boolean.casting">la
- conversion en booléen</link> et <link linkend="types.comparisons">les
tables
- de comparaison de types</link> pour plus d'informations). Pour passer en revue
- tous les éléments, utilisez plutôt <function>each</function>.
- </para>
- </warning>
</para>
+
+ &return.falseproblem;
+
+ <note>
+ <simpara>
+ Vous ne serez pas capable de distinguer la fin d'un tableau avec
+ l'élément booléen &false;. Pour traverser correctement un tableau qui
+ peut contenir l'élément &false;, voyez la fonction
+ <function>each</function>.
+ </simpara>
+ </note>
+
<para>
<function>prev</function> se comporte exactement comme
<function>next</function>, mais elle fait reculer le pointeur
@@ -55,8 +57,9 @@
Voir aussi
<function>current</function>,
<function>end</function>,
- <function>next</function> et
- <function>reset</function>.
+ <function>next</function>,
+ <function>reset</function> et
+ <function>each</function>.
</para>
</refsect1>
</refentry>