php-developer-list | 2001122
Date: 12/21/01
- Next message: sander <email protected>: "[PHP-DEV] Bug #14651 Updated: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x"
- Previous message: sander <email protected>: "[PHP-DEV] Bug #14650 Updated: include_path is badly broken in SAPI version"
- In reply to: mike <email protected>: "[PHP-DEV] Bug #14651: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x"
- Next in thread: sander <email protected>: "[PHP-DEV] Bug #14651 Updated: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: mike <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 : sitnikov <email protected>
GSM : (+372) 56491109
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sander <email protected>: "[PHP-DEV] Bug #14651 Updated: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x"
- Previous message: sander <email protected>: "[PHP-DEV] Bug #14650 Updated: include_path is badly broken in SAPI version"
- In reply to: mike <email protected>: "[PHP-DEV] Bug #14651: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x"
- Next in thread: sander <email protected>: "[PHP-DEV] Bug #14651 Updated: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

