[PHP-DOC] cvs: phpdoc /fr/language basic-syntax.xml From: Damien Seguy (dams <email protected>)
Date: 10/22/01

dams Mon Oct 22 22:33:50 2001 EDT

  Modified files:
    /phpdoc/fr/language basic-syntax.xml
  Log:
  Updating somewhat this chapter.
  
Index: phpdoc/fr/language/basic-syntax.xml
diff -u phpdoc/fr/language/basic-syntax.xml:1.7 phpdoc/fr/language/basic-syntax.xml:1.8
--- phpdoc/fr/language/basic-syntax.xml:1.7 Thu Aug 2 05:56:35 2001
+++ phpdoc/fr/language/basic-syntax.xml Mon Oct 22 22:33:49 2001
@@ -1,3 +1,5 @@
+<?xml encoding="iso-8859-1"?>
+<!-- $Revision: 1.8 $ -->
   <chapter id="language.basic-syntax">
    <title>La syntaxe de base</title>
    <sect1 id="language.basic-syntax.phpmode">
@@ -5,7 +7,7 @@
     <para>
      Lorsque PHP commence &agrave; traiter un fichier, il ne fait qu'afficher
      le texte HTML qu'il rencontre. Si vous renommez un fichier .html
- en .php, il fonctionnera exactement comme avant.
+ en .php, il s'affichera exactement comme avant.
     </para>
      <para>
       Si vous voulez ins&eacute;rer des commandes PHP dans votre fichier, vous
@@ -64,13 +66,11 @@
       <title>M&eacute;thode avanc&eacute;e</title>
       <programlisting role="php">
 &lt;?php
- if ( boolean-expression ) {
+ if ( expression-bool&eacute;enne ) {
 ?&gt;
   &lt;strong&gt;Ceci est vrai.&lt;/strong&gt;
 &lt;?php
- }
- else
- {
+ } else {
 ?&gt;
 &lt;strong&gt;Ceci est faux.&lt;/strong&gt;
 &lt;?php
@@ -86,8 +86,8 @@
    <sect1 id="language.basic-syntax.instruction-separation">
     <title>Le s&eacute;parateur d'instruction</title>
     <simpara>
- Les instructions sont s&eacute;par&eacute;es comme en C ou en Perl
- par un point virgule &agrave; chaque fin d'instruction.
+ Les instructions sont s&eacute;par&eacute;es par un point virgule &agrave;
+ chaque fin d'instruction, comme en langage C ou en Perl.
     </simpara>
     <para>
      La balise de fin (?&gt;) implique la fin d'un instruction, et donc