Bug #14651: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x

From: Date: Fri, 21 Dec 2001 20:32:30 +0000
Subject: Bug #14651: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x
Groups: php.dev 
Request: Send a blank email to php-dev+get-74738@lists.php.net to get a copy of this message
From: mike@m2wh.com Operating system: FreeBSD 3.4-REL PHP version: 4.1.0 PHP Bug Type: Reproducible crash Bug description: PHP close tag (?>) in a comment acts as a close; this did not happen in 4.0.x In 4.0.x, you could do something like: <? echo "hi"; //<does this echo hi?> ?> and it would work fine. In 4.1.0 this causes a parse error on the last line of the script. -- Edit bug report at: http://bugs.php.net/?id=14651&edit=1

« previous php.dev (#74738) next »