Hello mike,

This is not bug, this is features:
http://www.php.net/manual/en/language.basic-syntax.comments.php
The "one-line" comment styles actually only comment to the end of the line or the 
current block of PHP code,
whichever comes first.

Please mark this bug as bogus.


mmc> From:             [EMAIL PROTECTED]
mmc> Operating system: FreeBSD 3.4-REL
mmc> PHP version:      4.1.0
mmc> PHP Bug Type:     Reproducible crash
mmc> Bug description:  PHP close tag (?>) in a comment acts as a close; this did not 
happen in 4.0.x

mmc> In 4.0.x, you could do something like:

mmc> <?
mmc> echo "hi"; //<does this echo hi?>
?>>

mmc> and it would work fine.

mmc> In 4.1.0 this causes a parse error on the last line of the script.



Best regards,
 Andrew Sitnikov                         
 e-mail : [EMAIL PROTECTED]
 GSM    : (+372) 56491109


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to