From: "Stefan" <[EMAIL PROTECTED]>

i've the dump feeling there's a bug in the parser (or in my mind =) since i tried to commenting out some code, containing <? ... ?>.

http://us4.php.net/manual/en/language.basic-syntax.comments.php

Quote: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. If asp_tags configuration directive is enabled, it behaves the same with // %>.

Although maybe it should say "even if ?> is within a string" to clear up any confusion?

---John Holmes...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to