cvs: phpdoc /en/language basic-syntax.xml
| From: | Dirkjan Ochtman | Date: | Mon, 29 Apr 2002 11:33:22 +0000 |
| Subject: | cvs: phpdoc /en/language basic-syntax.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969345029@lists.php.net to get a copy of this message | ||
manuzhai Mon Apr 29 07:33:22 2002 EDT
Modified files:
/phpdoc/en/language basic-syntax.xml
Log:
Fixed bug 14984.
Index: phpdoc/en/language/basic-syntax.xml
diff -u phpdoc/en/language/basic-syntax.xml:1.28 phpdoc/en/language/basic-syntax.xml:1.29
--- phpdoc/en/language/basic-syntax.xml:1.28 Fri Apr 26 09:03:12 2002
+++ phpdoc/en/language/basic-syntax.xml Mon Apr 29 07:33:21 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.28 $ -->
+<!-- $Revision: 1.29 $ -->
<chapter id="language.basic-syntax">
<title>Basic syntax</title>
@@ -235,6 +235,13 @@
]]>
</programlisting>
</informalexample>
+
+ <simpara>
+ The one-line comment styles actually only comment to the end
+ of the line or the current block of PHP code, whichever comes first.
+ This means that HTML code after // ?> WILL be printed: ?> skips out of
+ the PHP mode and returns to HTML mode, and // cannot influence that.
+ </simpara>
</sect1>
</chapter>