Re: Bug #14042 Updated: Comment inside if statement causes parse error
| From: | Lenar Lõhmus | Date: | Wed, 14 Nov 2001 09:06:16 +0000 |
| Subject: | Re: Bug #14042 Updated: Comment inside if statement causes parse error | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70412@lists.php.net to get a copy of this message | ||
> You're messing with the ASP-tags.
> The line echo "<ta.... contains %> which jumps out of PHP-mode. Then, if
> EOF has been reached, the brackets haven't been closed, which results in
> that parse-error. So, edit your php.ini and disbable asp-tags or use
> width="50%"> (which is better anyway).
>
It's a little bit strange you can jump into php mode with '<?php' and jump
out of that mode with '%>'. IMO there should be some check in place - so
that mixing different tags is not allowed this way.
Lenar