[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 80289] if a php code block ends in a comment the VPL view
From: Nicolas Deschildre <ndeschildre () kdewebdev ! org>
Date: 2004-09-15 19:00:41
Message-ID: 20040915190041.9924.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=80289
ndeschildre kdewebdev org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ndeschildre kdewebdev org
------- Additional Comments From ndeschildre kdewebdev org 2004-09-15 21:00 -------
With a small testcase, i have seen that the comment lasts until it reachs the ?>, \
unless it is contained in a non-commented block of text inside quotes. So in any case \
the ?> is the end of the PHP block.
<? require("includes/debug.php"); //debug_var("?>", $var );
"debug_var("" is a comment, "", $var );" is printed as normal text outside
<? require("includes/debug.php"); //some text containing ?> here
"//some text containing " is a comment, " here " is printed as normal text
outside
<? print("includes/debug.php?>"); ?> will output : includes/debug.php?>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic