dams            Fri Apr 20 01:19:14 2001 EDT

  Modified files:              
    /phpdoc/fr/pear     standards.xml 
  Log:
  Added latest corrections
  
Index: phpdoc/fr/pear/standards.xml
diff -u phpdoc/fr/pear/standards.xml:1.2 phpdoc/fr/pear/standards.xml:1.3
--- phpdoc/fr/pear/standards.xml:1.2    Tue Apr  3 06:22:26 2001
+++ phpdoc/fr/pear/standards.xml        Fri Apr 20 01:19:14 2001
@@ -87,12 +87,14 @@
    <para>
     Comme illustr&eacute; ci-dessus, il faut un espace autour des signes
     &eacute;gal lorsqu'il est utilis&eacute; dans une assignation de variable.
-    Dans le cas d'assignement en bloc, plusieurs espaces peuvent &ecirc;tre
+    Dans le cas d'assignation en bloc, plusieurs espaces peuvent &ecirc;tre
     introduit pour am&eacute;liorer la lisibilit&eacute;.
     <programlisting role="php">
+&lt;?php
 $short         = foo($bar);
 $long_variable = foo($baz);
-</programlisting>
+&gt;
+    </programlisting>
    </para>
   </sect1>
   <sect1 id="pear.standards.funcdef">
@@ -101,6 +103,7 @@
     Les d&eacute;clarations de fonction suivent la convention 
     "one TRUE brace" (une seule accolade v&eacute;ritable) : 
     <programlisting role="php">
+&lt;?php
 function fooFunction($arg1, $arg2 = '')
 {
     if (condition) {
@@ -108,7 +111,8 @@
     }
     return $val;
 }
-</programlisting>
+?&gt;
+    </programlisting>
    </para>
    <para>
     Les arguments ayant une valeur par d&eacute;faut doivent aller
@@ -116,7 +120,8 @@
     une valeur utile de vos fonctions, d&egrave;s que c'est le cas.
     Voici un exemple : 
     <programlisting role="php">
-function connect(&amp;$dsn, $persistent = false)
+&lt;?php
+function connect(&amp;$dsn, $persistent = FALSE)
 {
     if (is_array($dsn)) {
         $dsninfo = &amp;$dsn;
@@ -128,8 +133,9 @@
         return $this->raiseError();
     }
     
-    return true;
+    return TRUE;
 }
+?&gt;
     </programlisting>
    </para>
   </sect1>


Reply via email to