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: 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&eacute;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 &eacute;quivalent dans la cha&icirc;ne <parameter>string</parameter>. Cette conversion est tr&egrave;s pratique pour la programmation web. Si vous devez remplacer tous les caract&egrave;res, utilisez - plutôt <function>htmlentities</function> instead. + plut&ocirc;t <function>htmlentities</function> instead. </para> <simpara> <function>htmlspecialchars</function> est pratique pour &eacute;viter que @@ -83,7 +83,7 @@ <para> Notez que cette fonction ne fait aucune autre remplacement que ceux qui sont list&eacute;s ci-dessus. Pour faire un remplacement total, - voyez plutôt <function>htmlentities</function>. Le support pour l + voyez plut&ocirc;t <function>htmlentities</function>. Le support pour l second argument optionnel a &eacute;t&eacute; ajout&eacute; 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&ocirc;t bien, en comparaison de <function>similar_text</function>, qui est en - <literal>O(max(n,m)**3)</literal>, mais cela reste tr&egrave;s coûteux. + <literal>O(max(n,m)**3)</literal>, mais cela reste tr&egrave;s co&ucirc;teux. </para> <para> Dans sa forme la plus simple, <function>levenshtein</function> @@ -58,7 +58,7 @@ </para> <para> La deuxi&egrave;me variante de la fonction prend trois param&egrave;tres - suppl&eacute;mentaires qui repr&eacute;sentent les coûts d'insertions, + suppl&eacute;mentaires qui repr&eacute;sentent les co&ucirc;ts d'insertions, de remplacements et d'effacements. C'est une version plus g&eacute;n&eacute;rale de la premi&egrave;re fonction, mais qui est un peu moins efficace. @@ -66,7 +66,7 @@ <para> La troisi&egrave;me variante (qui n'est pas impl&eacute;ment&eacute;e actuellement), est la version la plus g&eacute;n&eacute;rale, mais la plus lente. Elle appelera - une fonction utilisateur qui d&eacute;terminera le coût de chaque op&eacute;ration. + une fonction utilisateur qui d&eacute;terminera le co&ucirc;t de chaque op&eacute;ration. </para> <para> La fonction utilisateur qui sera appel&eacute;e re&ccedil;oit les arguments suivants : @@ -108,13 +108,13 @@ </listitem> </itemizedlist> Cette fonction doit retourner un entier positif, qui repr&eacute;sente - le coût de cette op&eacute;ration particuli&egrave;re. Il peut ne prendre en + le co&ucirc;t de cette op&eacute;ration particuli&egrave;re. Il peut ne prendre en compte que certains des param&egrave;tres fournis. </para> <para> Gr&acirc;ce &agrave; cette fonction utilisateur, il est possible de prendr en compte la pertinence ou la valeur des caract&egrave;res eux-m&ecirc;mes, - ou encore le contexte, pour d&eacute;finir le coûts d'une insertion, + ou encore le contexte, pour d&eacute;finir le co&ucirc;ts d'une insertion, d'un effacement ou d'un remplacement. Cela se fait en perdant toutes les optimisations fa&icirc;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&egrave;res de contrôle ASCII au d&eacute;but de la cha&icirc;ne de caract&egrave;res. +// supprime tous les caract&egrave;res de contr&ocirc;le ASCII au d&eacute;but de la cha&icirc;ne de caract&egrave;res. // (de 0 &agrave; 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'&ecirc;tes - pas oblig&eacute;s d'utiliser des parenth&egrave;ses. En fait, si vous voulez - passer plusieurs param&egrave;tres &agrave; afficher, vous ne devez pas utiliser - de parenth&egrave;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&eacute;s d'utiliser des parenth&egrave;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&egrave;res de contrôle ASCII au d&eacute;but de la cha&icirc;ne de caract&egrave;res. +// supprime tous les caract&egrave;res de contr&ocirc;le ASCII au d&eacute;but de la cha&icirc;ne de caract&egrave;res. // (de 0 &agrave; 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&icirc;ne ou un tablaeu, + <function>str_replace</function> retourne une cha&icirc;ne ou un tableau, dont toutes les occurences de <parameter>search</parameter> dans <parameter>subject</parameter> ont &eacute;t&eacute; remplac&eacute;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 &eacute;quivalente &agrave; <function>strcmp</function>. </simpara> <simpara> - Notez que cette comparaison est sensible &agrave; la cesse, et que + Notez que cette comparaison est sensible &agrave; la casse, et que contrairement &agrave; <function>strcmp</function>, elle n'est pas compatible avec les cha&icirc;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&egrave;res de contrôle ASCII au d&eacute;but de la cha&icirc;ne de caract&egrave;res. +// supprime tous les caract&egrave;res de contr&ocirc;le ASCII au d&eacute;but de la cha&icirc;ne de caract&egrave;res. // (de 0 &agrave; 31 inclus) ?> ]]>
« previous php.doc.fr (#168) next »