Re: 4.0.5 Comments change (leads to inappropriateparse error based on contents of comments)
| From: | Hartmut Holzgraefe | Date: | Thu, 05 Apr 2001 17:12:37 +0000 |
| Subject: | Re: 4.0.5 Comments change (leads to inappropriateparse error based on contents of comments) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-50954@lists.php.net to get a copy of this message | ||
Andi Gutmans wrote:
>
> This was fixed to be consistent with ?>.
> One line comments end at a new line or at a closing bracket (?> or %>)
>
> At 05:54 PM 4/4/2001 -0700, Steven Roussey wrote:
> >I found our problem. In 4.0.5, comments seem to be parsed differently. We
> >have ASP style tags enabled so we can use %> as well as ?>. But we had
> >comments like this:
> >
> ><?
> >
> >//asdfasdf%>asdfasdf
> >echo('');
> >?>
but a code block should end with the sort of tag it started with
or are things like "<? some code %>" considered legal ???
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de
+49-711-99091-77