git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146106 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2003-12-10 13:03:54 +00:00
parent be04523f33
commit ea06eff962

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.34 $ -->
<!-- $Revision: 1.35 $ -->
<chapter id="language.basic-syntax">
<title>Basic syntax</title>
@ -257,9 +257,11 @@ if ($expression) {
<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 <literal>// ?></literal> WILL be printed:
?> skips out of the PHP mode and returns to HTML mode, and
This means that HTML code after <literal>// ?&gt;</literal> WILL be printed:
?&gt; skips out of the PHP mode and returns to HTML mode, and
<literal>//</literal> cannot influence that.
If <link linkend="ini.asp-tags">asp_tags</link> configuration directive
is enabled, it behaves the same with <literal>// %&gt;</literal>.
</simpara>
</sect1>
</chapter>