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. +