From 4e3a94df3e4dda4d086dde34a9f5096c9dc45cca Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 29 Apr 2002 11:33:21 +0000 Subject: [PATCH] Fixed bug 14984. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80411 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/basic-syntax.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/language/basic-syntax.xml b/language/basic-syntax.xml index 7f43e9afc9..35757f00d7 100644 --- a/language/basic-syntax.xml +++ b/language/basic-syntax.xml @@ -1,5 +1,5 @@ - + Basic syntax @@ -235,6 +235,13 @@ if ($expression) { ]]> + + + 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. +