cvs: phpdoc-fr /reference/strings/functions chunk-split.xml get-meta-tags.xml htmlspecialchars.xml levenshtein.xml ltrim.xml number-format.xml
print.xml rtrim.xml str-replace.xml strcoll.xml strtoupper.xml trim.xml
| From: | Damien Seguy | Date: | Tue, 21 Jan 2003 19:09:01 +0000 |
| Subject: | cvs: phpdoc-fr /reference/strings/functions chunk-split.xml get-meta-tags.xml htmlspecialchars.xml levenshtein.xml ltrim.xml number-format.xml print.xml rtrim.xml str-replace.xml strcoll.xml strtoupper.xml trim.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-168@lists.php.net to get a copy of this message | ||
dams Tue Jan 21 14:09:01 2003 EDT
Removed files:
/phpdoc-fr/reference/strings/functions get-meta-tags.xml
Modified files:
/phpdoc-fr/reference/strings/functions chunk-split.xml
htmlspecialchars.xml
levenshtein.xml ltrim.xml
number-format.xml print.xml
rtrim.xml str-replace.xml
strcoll.xml strtoupper.xml
trim.xml
Log:
Moving get meta tag to url
Index: phpdoc-fr/reference/strings/functions/chunk-split.xml diff -u phpdoc-fr/reference/strings/functions/chunk-split.xml:1.4 phpdoc-fr/reference/strings/functions/chunk-split.xml:1.5 --- phpdoc-fr/reference/strings/functions/chunk-split.xml:1.4 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/chunk-split.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.chunk-split"> <refnamediv> @@ -29,6 +29,7 @@ <![CDATA[ <?php // Formatter des données pour suivre la norme RFC 2045 + $new_string = chunk_split(base64_encode($data)); ?> ]]> @@ -38,8 +39,9 @@ <simpara> Voir aussi <function>explode</function>, - <function>split</function> et - <function>wordwrap</function>. + <function>split</function>, + <function>wordwrap</function> et + <ulink url="&url.rfc;rfc2045.html">RFC 2045</ulink>. </simpara> </refsect1> </refentry> Index: phpdoc-fr/reference/strings/functions/htmlspecialchars.xml diff -u phpdoc-fr/reference/strings/functions/htmlspecialchars.xml:1.3 phpdoc-fr/reference/strings/functions/htmlspecialchars.xml:1.4 --- phpdoc-fr/reference/strings/functions/htmlspecialchars.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/htmlspecialchars.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.htmlspecialchars"> <refnamediv> @@ -23,7 +23,7 @@ par leur équivalent dans la chaîne <parameter>string</parameter>. Cette conversion est très pratique pour la programmation web. Si vous devez remplacer tous les caractères, utilisez - plutôt <function>htmlentities</function> instead. + plutôt <function>htmlentities</function> instead. </para> <simpara> <function>htmlspecialchars</function> est pratique pour éviter que @@ -83,7 +83,7 @@ <para> Notez que cette fonction ne fait aucune autre remplacement que ceux qui sont listés ci-dessus. Pour faire un remplacement total, - voyez plutôt <function>htmlentities</function>. Le support pour l + voyez plutôt <function>htmlentities</function>. Le support pour l second argument optionnel a été ajouté en PHP 3.0.17 et PHP 4.0.3. </para> <para> Index: phpdoc-fr/reference/strings/functions/levenshtein.xml diff -u phpdoc-fr/reference/strings/functions/levenshtein.xml:1.3 phpdoc-fr/reference/strings/functions/levenshtein.xml:1.4 --- phpdoc-fr/reference/strings/functions/levenshtein.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/levenshtein.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.12 --> <refentry id="function.levenshtein"> <refnamediv> @@ -45,9 +45,9 @@ est en <literal>O(m*n)</literal>, où <literal>n</literal> et <literal>m</literal> sont les tailles respectives de <parameter>str1</parameter> et - <parameter>str2</parameter> : c'est plutôt bien, en comparaison + <parameter>str2</parameter> : c'est plutôt bien, en comparaison de <function>similar_text</function>, qui est en - <literal>O(max(n,m)**3)</literal>, mais cela reste très coûteux. + <literal>O(max(n,m)**3)</literal>, mais cela reste très coûteux. </para> <para> Dans sa forme la plus simple, <function>levenshtein</function> @@ -58,7 +58,7 @@ </para> <para> La deuxième variante de la fonction prend trois paramètres - supplémentaires qui représentent les coûts d'insertions, + supplémentaires qui représentent les coûts d'insertions, de remplacements et d'effacements. C'est une version plus générale de la première fonction, mais qui est un peu moins efficace. @@ -66,7 +66,7 @@ <para> La troisième variante (qui n'est pas implémentée actuellement), est la version la plus générale, mais la plus lente. Elle appelera - une fonction utilisateur qui déterminera le coût de chaque opération. + une fonction utilisateur qui déterminera le coût de chaque opération. </para> <para> La fonction utilisateur qui sera appelée reçoit les arguments suivants : @@ -108,13 +108,13 @@ </listitem> </itemizedlist> Cette fonction doit retourner un entier positif, qui représente - le coût de cette opération particulière. Il peut ne prendre en + le coût de cette opération particulière. Il peut ne prendre en compte que certains des paramètres fournis. </para> <para> Grâce à cette fonction utilisateur, il est possible de prendr en compte la pertinence ou la valeur des caractères eux-mêmes, - ou encore le contexte, pour définir le coûts d'une insertion, + ou encore le contexte, pour définir le coûts d'une insertion, d'un effacement ou d'un remplacement. Cela se fait en perdant toutes les optimisations faîtes en terme d'exploitation du CPU et des buffers. Index: phpdoc-fr/reference/strings/functions/ltrim.xml diff -u phpdoc-fr/reference/strings/functions/ltrim.xml:1.3 phpdoc-fr/reference/strings/functions/ltrim.xml:1.4 --- phpdoc-fr/reference/strings/functions/ltrim.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/ltrim.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.ltrim"> <refnamediv> @@ -80,7 +80,7 @@ $trimmed = ltrim($text," ."); // $trimmed = "Voici quelques mots :) ... " $clean = ltrim($binary,"\0x00..\0x1F"); -// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. +// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. // (de 0 à 31 inclus) ?> ]]> Index: phpdoc-fr/reference/strings/functions/number-format.xml diff -u phpdoc-fr/reference/strings/functions/number-format.xml:1.1 phpdoc-fr/reference/strings/functions/number-format.xml:1.2 --- phpdoc-fr/reference/strings/functions/number-format.xml:1.1 Mon Oct 14 18:53:35 2002 +++ phpdoc-fr/reference/strings/functions/number-format.xml Tue Jan 21 14:09:00 2003 @@ -4,7 +4,7 @@ <refentry id="function.number-format"> <refnamediv> <refname>number_format</refname> - <refpurpose>Formate un nombre pour l'affichage.</refpurpose> + <refpurpose>Formate un nombre pour l'affichage</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/strings/functions/print.xml diff -u phpdoc-fr/reference/strings/functions/print.xml:1.3 phpdoc-fr/reference/strings/functions/print.xml:1.4 --- phpdoc-fr/reference/strings/functions/print.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/print.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.print"> <refnamediv> @@ -19,10 +19,7 @@ <para> <function>print</function> n'est pas vraiment une fonction (c'est techniquement une structure du langage). Cela fait que vous n'êtes - pas obligés d'utiliser des parenthèses. En fait, si vous voulez - passer plusieurs paramètres à afficher, vous ne devez pas utiliser - de parenthèses. Il n'est pas possible d'utiliser <function>print</function> - dans un contexte de <link linkend="functions.variable-functions">fonction variable</link>. + pas obligés d'utiliser des parenthèses. </para> <example> <title>Exemples avec <function>print</function></title> Index: phpdoc-fr/reference/strings/functions/rtrim.xml diff -u phpdoc-fr/reference/strings/functions/rtrim.xml:1.3 phpdoc-fr/reference/strings/functions/rtrim.xml:1.4 --- phpdoc-fr/reference/strings/functions/rtrim.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/rtrim.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.31 --> <refentry id="function.rtrim"> <refnamediv> @@ -80,7 +80,7 @@ $trimmed = rtrim($text," ."); // $trimmed = " Voici quelques mots :)" $clean = rtrim($binary,"\0x00..\0x1F"); -// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. +// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. // (de 0 à 31 inclus) ?> ]]> Index: phpdoc-fr/reference/strings/functions/str-replace.xml diff -u phpdoc-fr/reference/strings/functions/str-replace.xml:1.3 phpdoc-fr/reference/strings/functions/str-replace.xml:1.4 --- phpdoc-fr/reference/strings/functions/str-replace.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/str-replace.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.str-replace"> <refnamediv> @@ -17,7 +17,7 @@ <methodparam><type>mixed</type><parameter>subject</parameter></methodparam> </methodsynopsis> <para> - <function>str_replace</function> retourne une chaîne ou un tablaeu, + <function>str_replace</function> retourne une chaîne ou un tableau, dont toutes les occurences de <parameter>search</parameter> dans <parameter>subject</parameter> ont été remplacée par <parameter>replace</parameter>. Si vous n'avez pas besoin de Index: phpdoc-fr/reference/strings/functions/strcoll.xml diff -u phpdoc-fr/reference/strings/functions/strcoll.xml:1.3 phpdoc-fr/reference/strings/functions/strcoll.xml:1.4 --- phpdoc-fr/reference/strings/functions/strcoll.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/strcoll.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.69 --> <refentry id="function.strcoll"> <refnamediv> @@ -21,7 +21,7 @@ C ou POSIX, cette fonction est équivalente à <function>strcmp</function>. </simpara> <simpara> - Notez que cette comparaison est sensible à la cesse, et que + Notez que cette comparaison est sensible à la casse, et que contrairement à <function>strcmp</function>, elle n'est pas compatible avec les chaînes binaires. </simpara> Index: phpdoc-fr/reference/strings/functions/strtoupper.xml diff -u phpdoc-fr/reference/strings/functions/strtoupper.xml:1.3 phpdoc-fr/reference/strings/functions/strtoupper.xml:1.4 --- phpdoc-fr/reference/strings/functions/strtoupper.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/strtoupper.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strtoupper"> <refnamediv> @@ -28,9 +28,9 @@ <![CDATA[ <?php $str = "Marie A un Petit Agneau, et l'aime TRes fORt."; - $str = strtolower($str); + $str = strtoupper($str); print $str; -// Affiche : MARI A UN PETIT AGNEAU, ET L'AIME TRES FORT. +// Affiche : MARIE A UN PETIT AGNEAU, ET L'AIME TRES FORT. ?> ]]> </programlisting> Index: phpdoc-fr/reference/strings/functions/trim.xml diff -u phpdoc-fr/reference/strings/functions/trim.xml:1.3 phpdoc-fr/reference/strings/functions/trim.xml:1.4 --- phpdoc-fr/reference/strings/functions/trim.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/trim.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.trim"> <refnamediv> @@ -80,7 +80,7 @@ $trimmed = trim($text," ."); // $trimmed = "Voici quelques mots :)" $clean = trim($binary,"\0x00..\0x1F"); -// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. +// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. // (de 0 à 31 inclus) ?> ]]>
Index: phpdoc-fr/reference/strings/functions/chunk-split.xml diff -u phpdoc-fr/reference/strings/functions/chunk-split.xml:1.4 phpdoc-fr/reference/strings/functions/chunk-split.xml:1.5 --- phpdoc-fr/reference/strings/functions/chunk-split.xml:1.4 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/chunk-split.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.chunk-split"> <refnamediv> @@ -29,6 +29,7 @@ <![CDATA[ <?php // Formatter des données pour suivre la norme RFC 2045 + $new_string = chunk_split(base64_encode($data)); ?> ]]> @@ -38,8 +39,9 @@ <simpara> Voir aussi <function>explode</function>, - <function>split</function> et - <function>wordwrap</function>. + <function>split</function>, + <function>wordwrap</function> et + <ulink url="&url.rfc;rfc2045.html">RFC 2045</ulink>. </simpara> </refsect1> </refentry> Index: phpdoc-fr/reference/strings/functions/htmlspecialchars.xml diff -u phpdoc-fr/reference/strings/functions/htmlspecialchars.xml:1.3 phpdoc-fr/reference/strings/functions/htmlspecialchars.xml:1.4 --- phpdoc-fr/reference/strings/functions/htmlspecialchars.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/htmlspecialchars.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.htmlspecialchars"> <refnamediv> @@ -23,7 +23,7 @@ par leur équivalent dans la chaîne <parameter>string</parameter>. Cette conversion est très pratique pour la programmation web. Si vous devez remplacer tous les caractères, utilisez - plutôt <function>htmlentities</function> instead. + plutôt <function>htmlentities</function> instead. </para> <simpara> <function>htmlspecialchars</function> est pratique pour éviter que @@ -83,7 +83,7 @@ <para> Notez que cette fonction ne fait aucune autre remplacement que ceux qui sont listés ci-dessus. Pour faire un remplacement total, - voyez plutôt <function>htmlentities</function>. Le support pour l + voyez plutôt <function>htmlentities</function>. Le support pour l second argument optionnel a été ajouté en PHP 3.0.17 et PHP 4.0.3. </para> <para> Index: phpdoc-fr/reference/strings/functions/levenshtein.xml diff -u phpdoc-fr/reference/strings/functions/levenshtein.xml:1.3 phpdoc-fr/reference/strings/functions/levenshtein.xml:1.4 --- phpdoc-fr/reference/strings/functions/levenshtein.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/levenshtein.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.12 --> <refentry id="function.levenshtein"> <refnamediv> @@ -45,9 +45,9 @@ est en <literal>O(m*n)</literal>, où <literal>n</literal> et <literal>m</literal> sont les tailles respectives de <parameter>str1</parameter> et - <parameter>str2</parameter> : c'est plutôt bien, en comparaison + <parameter>str2</parameter> : c'est plutôt bien, en comparaison de <function>similar_text</function>, qui est en - <literal>O(max(n,m)**3)</literal>, mais cela reste très coûteux. + <literal>O(max(n,m)**3)</literal>, mais cela reste très coûteux. </para> <para> Dans sa forme la plus simple, <function>levenshtein</function> @@ -58,7 +58,7 @@ </para> <para> La deuxième variante de la fonction prend trois paramètres - supplémentaires qui représentent les coûts d'insertions, + supplémentaires qui représentent les coûts d'insertions, de remplacements et d'effacements. C'est une version plus générale de la première fonction, mais qui est un peu moins efficace. @@ -66,7 +66,7 @@ <para> La troisième variante (qui n'est pas implémentée actuellement), est la version la plus générale, mais la plus lente. Elle appelera - une fonction utilisateur qui déterminera le coût de chaque opération. + une fonction utilisateur qui déterminera le coût de chaque opération. </para> <para> La fonction utilisateur qui sera appelée reçoit les arguments suivants : @@ -108,13 +108,13 @@ </listitem> </itemizedlist> Cette fonction doit retourner un entier positif, qui représente - le coût de cette opération particulière. Il peut ne prendre en + le coût de cette opération particulière. Il peut ne prendre en compte que certains des paramètres fournis. </para> <para> Grâce à cette fonction utilisateur, il est possible de prendr en compte la pertinence ou la valeur des caractères eux-mêmes, - ou encore le contexte, pour définir le coûts d'une insertion, + ou encore le contexte, pour définir le coûts d'une insertion, d'un effacement ou d'un remplacement. Cela se fait en perdant toutes les optimisations faîtes en terme d'exploitation du CPU et des buffers. Index: phpdoc-fr/reference/strings/functions/ltrim.xml diff -u phpdoc-fr/reference/strings/functions/ltrim.xml:1.3 phpdoc-fr/reference/strings/functions/ltrim.xml:1.4 --- phpdoc-fr/reference/strings/functions/ltrim.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/ltrim.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.ltrim"> <refnamediv> @@ -80,7 +80,7 @@ $trimmed = ltrim($text," ."); // $trimmed = "Voici quelques mots :) ... " $clean = ltrim($binary,"\0x00..\0x1F"); -// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. +// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. // (de 0 à 31 inclus) ?> ]]> Index: phpdoc-fr/reference/strings/functions/number-format.xml diff -u phpdoc-fr/reference/strings/functions/number-format.xml:1.1 phpdoc-fr/reference/strings/functions/number-format.xml:1.2 --- phpdoc-fr/reference/strings/functions/number-format.xml:1.1 Mon Oct 14 18:53:35 2002 +++ phpdoc-fr/reference/strings/functions/number-format.xml Tue Jan 21 14:09:00 2003 @@ -4,7 +4,7 @@ <refentry id="function.number-format"> <refnamediv> <refname>number_format</refname> - <refpurpose>Formate un nombre pour l'affichage.</refpurpose> + <refpurpose>Formate un nombre pour l'affichage</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/strings/functions/print.xml diff -u phpdoc-fr/reference/strings/functions/print.xml:1.3 phpdoc-fr/reference/strings/functions/print.xml:1.4 --- phpdoc-fr/reference/strings/functions/print.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/print.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.print"> <refnamediv> @@ -19,10 +19,7 @@ <para> <function>print</function> n'est pas vraiment une fonction (c'est techniquement une structure du langage). Cela fait que vous n'êtes - pas obligés d'utiliser des parenthèses. En fait, si vous voulez - passer plusieurs paramètres à afficher, vous ne devez pas utiliser - de parenthèses. Il n'est pas possible d'utiliser <function>print</function> - dans un contexte de <link linkend="functions.variable-functions">fonction variable</link>. + pas obligés d'utiliser des parenthèses. </para> <example> <title>Exemples avec <function>print</function></title> Index: phpdoc-fr/reference/strings/functions/rtrim.xml diff -u phpdoc-fr/reference/strings/functions/rtrim.xml:1.3 phpdoc-fr/reference/strings/functions/rtrim.xml:1.4 --- phpdoc-fr/reference/strings/functions/rtrim.xml:1.3 Mon Aug 12 22:59:47 2002 +++ phpdoc-fr/reference/strings/functions/rtrim.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.31 --> <refentry id="function.rtrim"> <refnamediv> @@ -80,7 +80,7 @@ $trimmed = rtrim($text," ."); // $trimmed = " Voici quelques mots :)" $clean = rtrim($binary,"\0x00..\0x1F"); -// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. +// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. // (de 0 à 31 inclus) ?> ]]> Index: phpdoc-fr/reference/strings/functions/str-replace.xml diff -u phpdoc-fr/reference/strings/functions/str-replace.xml:1.3 phpdoc-fr/reference/strings/functions/str-replace.xml:1.4 --- phpdoc-fr/reference/strings/functions/str-replace.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/str-replace.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.str-replace"> <refnamediv> @@ -17,7 +17,7 @@ <methodparam><type>mixed</type><parameter>subject</parameter></methodparam> </methodsynopsis> <para> - <function>str_replace</function> retourne une chaîne ou un tablaeu, + <function>str_replace</function> retourne une chaîne ou un tableau, dont toutes les occurences de <parameter>search</parameter> dans <parameter>subject</parameter> ont été remplacée par <parameter>replace</parameter>. Si vous n'avez pas besoin de Index: phpdoc-fr/reference/strings/functions/strcoll.xml diff -u phpdoc-fr/reference/strings/functions/strcoll.xml:1.3 phpdoc-fr/reference/strings/functions/strcoll.xml:1.4 --- phpdoc-fr/reference/strings/functions/strcoll.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/strcoll.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.69 --> <refentry id="function.strcoll"> <refnamediv> @@ -21,7 +21,7 @@ C ou POSIX, cette fonction est équivalente à <function>strcmp</function>. </simpara> <simpara> - Notez que cette comparaison est sensible à la cesse, et que + Notez que cette comparaison est sensible à la casse, et que contrairement à <function>strcmp</function>, elle n'est pas compatible avec les chaînes binaires. </simpara> Index: phpdoc-fr/reference/strings/functions/strtoupper.xml diff -u phpdoc-fr/reference/strings/functions/strtoupper.xml:1.3 phpdoc-fr/reference/strings/functions/strtoupper.xml:1.4 --- phpdoc-fr/reference/strings/functions/strtoupper.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/strtoupper.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strtoupper"> <refnamediv> @@ -28,9 +28,9 @@ <![CDATA[ <?php $str = "Marie A un Petit Agneau, et l'aime TRes fORt."; - $str = strtolower($str); + $str = strtoupper($str); print $str; -// Affiche : MARI A UN PETIT AGNEAU, ET L'AIME TRES FORT. +// Affiche : MARIE A UN PETIT AGNEAU, ET L'AIME TRES FORT. ?> ]]> </programlisting> Index: phpdoc-fr/reference/strings/functions/trim.xml diff -u phpdoc-fr/reference/strings/functions/trim.xml:1.3 phpdoc-fr/reference/strings/functions/trim.xml:1.4 --- phpdoc-fr/reference/strings/functions/trim.xml:1.3 Mon Aug 12 22:59:48 2002 +++ phpdoc-fr/reference/strings/functions/trim.xml Tue Jan 21 14:09:00 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.trim"> <refnamediv> @@ -80,7 +80,7 @@ $trimmed = trim($text," ."); // $trimmed = "Voici quelques mots :)" $clean = trim($binary,"\0x00..\0x1F"); -// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. +// supprime tous les caractères de contrôle ASCII au début de la chaîne de caractères. // (de 0 à 31 inclus) ?> ]]>