Date: 12/26/00
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /fr/functions image.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions var.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
eschmid Tue Dec 26 03:08:43 2000 EDT
Modified files:
/phpdoc/fr/functions var.xml
Log:
Hi Damien, you need a ?> and not a ?gt; at the end of a script.
Index: phpdoc/fr/functions/var.xml
diff -u phpdoc/fr/functions/var.xml:1.6 phpdoc/fr/functions/var.xml:1.7
--- phpdoc/fr/functions/var.xml:1.6 Tue Dec 26 02:24:47 2000
+++ phpdoc/fr/functions/var.xml Tue Dec 26 03:08:43 2000
@@ -28,7 +28,7 @@
$var = '122.34343Le';
$double_valeur_de_var = doubleval($var);
print $double_valeur_de_var; // affiche 122.34343
-?gt;
+?>
</programlisting>
</informalexample>
</para>
@@ -64,7 +64,7 @@
if (!isset($var)) { // retourne FALSE
print '$var n'est pas définie';
}
-?gt;
+?>
</programlisting>
</informalexample>
</para>
@@ -558,7 +558,7 @@
echo isset ($a); // TRUE
unset($a);
echo isset ($a); // FALSE
-?gt;
+?>
</programlisting>
</informalexample>
</para>
@@ -600,7 +600,7 @@
<?php
$a = array (1, 2, array ("a", "b", "c"));
print_r ($a);
-?gt;
+?>
</programlisting>
</informalexample>
</para>
@@ -658,7 +658,7 @@
/* Grosse bourde! Souffre et potasse! */
}
}
-?gt;
+?>
</programlisting>
</example>
</para>
@@ -775,7 +775,7 @@
$session_data = array();
}
}
-?gt;
+?>
</programlisting>
</example>
</para>
@@ -811,7 +811,7 @@
unset ($bar['quux']);
// Destruction de plusieurs variables
unset ($foo1, $foo2, $foo3);
-?gt;
+?>
</programlisting>
</example>
</para>
@@ -861,7 +861,7 @@
echo "$bar\n";
foo($bar);
echo "$bar\n";
-?gt;
+?>
</programlisting>
</informalexample>
L'exemple ci dessus va afficher :
@@ -888,7 +888,7 @@
foo();
foo();
foo();
-?gt;
+?>
</programlisting>
</informalexample>
L'affichage du script ci-dessus donnera :
@@ -912,7 +912,7 @@
}
$bar = "truc";
foo();
-?gt;
+?>
</programlisting>
</informalexample>
</para>
@@ -950,7 +950,7 @@
<?php
$a = array (1, 2, array ("a", "b", "c"));
var_dump ($a);
-?gt;
+?>
</pre>
</programlisting>
</informalexample>
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /fr/functions image.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions var.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

