[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: PHP editor doesn't validate if no closing PHP tag "?>"

Mark Dexter napsal(a):
> Hi. If you have a "pure" php file, my understanding is that the closing
> "?>" tag is optional. However, if you omit this tag, the PDT PHP editor
> doesn't seem to detect certain errors.
> 
> To see, this, create a PHP file, take out the closing "?>" tag, and
> delete the closing curly brace. The project explorer will show an error
> "label decoration" but the editor doesn't show any error. If you add the
> "?>" back, the editor now shows the problem.
> 
> Is this a bug? Thanks. Mark

Hi,

this bug relate with detecting @todo tasks, I have project where I have ended all PHP
files with "?>", but I have removed all this closing tags("?>") now and @todo task aren't
recognized.