Fixed bug 14984.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80411 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dirkjan Ochtman 2002-04-29 11:33:21 +00:00
parent 79eecd48d1
commit 4e3a94df3e

View file

@ -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 @@ if ($expression) {
]]>
</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>