cvs: phpdoc-fr /reference/strings/functions strtr.xml
| From: | Vincent Briet | Date: | Fri, 20 Feb 2004 09:24:41 +0000 |
| Subject: | cvs: phpdoc-fr /reference/strings/functions strtr.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-1495@lists.php.net to get a copy of this message | ||
poz Fri Feb 20 04:24:41 2004 EDT
Modified files:
/phpdoc-fr/reference/strings/functions strtr.xml
Log:
Typo, fix example and WS
http://cvs.php.net/diff.php/phpdoc-fr/reference/strings/functions/strtr.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc-fr/reference/strings/functions/strtr.xml
diff -u phpdoc-fr/reference/strings/functions/strtr.xml:1.9
phpdoc-fr/reference/strings/functions/strtr.xml:1.10
--- phpdoc-fr/reference/strings/functions/strtr.xml:1.9 Tue Dec 30 13:55:24 2003
+++ phpdoc-fr/reference/strings/functions/strtr.xml Fri Feb 20 04:24:41 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.strtr">
<refnamediv>
@@ -8,17 +8,17 @@
</refnamediv>
<refsect1>
<title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>strtr</methodname>
-
<methodparam><type>string</type><parameter>str</parameter></methodparam>
-
<methodparam><type>string</type><parameter>from</parameter></methodparam>
-
<methodparam><type>string</type><parameter>to</parameter></methodparam>
- </methodsynopsis>
- <methodsynopsis>
- <type>string</type><methodname>strtr</methodname>
-
<methodparam><type>string</type><parameter>str</parameter></methodparam>
-
<methodparam><type>array</type><parameter>replace_pairs</parameter></methodparam>
- </methodsynopsis>
+ <methodsynopsis>
+ <type>string</type><methodname>strtr</methodname>
+
<methodparam><type>string</type><parameter>str</parameter></methodparam>
+
<methodparam><type>string</type><parameter>from</parameter></methodparam>
+
<methodparam><type>string</type><parameter>to</parameter></methodparam>
+ </methodsynopsis>
+ <methodsynopsis>
+ <type>string</type><methodname>strtr</methodname>
+
<methodparam><type>string</type><parameter>str</parameter></methodparam>
+
<methodparam><type>array</type><parameter>replace_pairs</parameter></methodparam>
+ </methodsynopsis>
<para>
<function>strtr</function> retourne la chaîne
<parameter>str</parameter>,
après avoir remplacé chaque caractère du paramètre
@@ -34,7 +34,7 @@
<programlisting role="php">
<![CDATA[
<?php
- $addr = strtr($addr, "äâö", "aao");
+$addr = strtr($addr, "äâö", "aao");
?>
]]>
</programlisting>
@@ -51,19 +51,19 @@
</para>
<para>
<example>
- <title>Exemple avec <function>strtr</function> avec deux
arguments</title>
+ <title>Exemple avec <function>strtr</function> et deux
arguments</title>
<programlisting role="php">
<![CDATA[
<?php
- $trans = array("Bonjour" => "salut", "salut" =>
"bonjour");
- echo strtr("Bonjour à tous, j'ai dit bonjour", $trans);
+$trans = array("Bonjour" => "Salut", "salut" =>
"bonjour");
+echo strtr("Bonjour à tous, j'ai dit bonjour", $trans);
?>
]]>
</programlisting>
<para>
Cet exemple va afficher :
</para>
- <screen>
+ <screen>
<![CDATA[
Salut à tous, j'ai dit bonjour
]]>
@@ -78,9 +78,9 @@
</simpara>
</note>
<para>
- Voir aussi
- <function>ereg_replace</function>.
- </para>
+ Voir aussi
+ <function>ereg_replace</function>.
+ </para>
</refsect1>
</refentry>