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 à 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érer des commandes PHP dans votre fichier, vous
@@ -64,13 +66,11 @@
<title>Méthode avancée</title>
<programlisting role="php">
<?php
- if ( boolean-expression ) {
+ if ( expression-booléenne ) {
?>
<strong>Ceci est vrai.</strong>
<?php
- }
- else
- {
+ } else {
?>
<strong>Ceci est faux.</strong>
<?php
@@ -86,8 +86,8 @@
<sect1 id="language.basic-syntax.instruction-separation">
<title>Le séparateur d'instruction</title>
<simpara>
- Les instructions sont séparées comme en C ou en Perl
- par un point virgule à chaque fin d'instruction.
+ Les instructions sont séparées par un point virgule à
+ chaque fin d'instruction, comme en langage C ou en Perl.
</simpara>
<para>
La balise de fin (?>) implique la fin d'un instruction, et donc